Showing posts with label aspdotnet programming. Show all posts
Showing posts with label aspdotnet programming. Show all posts

Thursday, January 22, 2009

what's new in Visual Studio 2010?

1. UML: Now draw UML diagram right from your Visual Studio. No need to buy another tool or go to Visio to do that.

2. Application Architecture Re-engineering: You have a ready made code-solution, now you have to explain it to some one but have documents. VS2010 will help you to draw an application architecture using you application code. This way you get a big picture of your application and also all linkages between different classes. Good for new joiners in an existing team.

3. Stuff for Manual Testers: Manual tester can breathe a lot better with VS2010 tools, log in all your test cases and select the test case to run and click record and then execute your test case as usual and see what you get. If test case passes, you get evidence (most clients in service based companies want that) as videos or if the test case fails, you get the steps to reproduce as videos. Cool, isn’t it?

4. Besides these a lot more in Unit Testing side.

5. A lot more features and integration with SharePoint.

6. Above all brings in .NET 4.0

Read More...

Sunday, January 18, 2009

Authentication, Authorization in ASP.Net 2.0

Authentication and authorization is essential for the purpose of security in any software. Web projects require the technology of authentication and authorization to prevent the systems from the outside attacks. You can never keep your documents safe unless there is technology for protecting your documents from the hackers and malicious programs. Authentication is required for checking the identity of the person who wants to get the access inside your network and authorization is needed to give the permission for accessing particular resource.

Let us discuss the topic in detail:

1. Whenever user logs on to the computer system using the password there is need of authentication and authorization for allowing the user to use the system of the workplace. ASP.net provides the facility to authenticate the user and then provide the authorization for accessing the resources. There are three types of authentication which are used in Asp.net. Form authentication, window authentication and passport authentication.

2. Authorization is performed by the IIS which is used in ASP.net. If the user is not authenticated then IIS configuration setting does not allow the entrance of user to access the resources. Authentication is done using the tickets. Cookies are stored and used by the authentication system for checking the user authentication and providing permission for accessing the resources.

3. You can use the built in ASP.net facility for authentication and authorization. You can customize the Asp.net facilities for making it suitable according to your usage. Password and login id can be changed for making easy processing. Password of the user can be checked and new password can be issued for new user. You can add the new user in the existing system. There are many new features in the updated version.
Authentication is performed using the IIS feature in ASP.net with the help of the tracking of the cookie. Cookies play an important role in authenticating the user.

4. Authorization is performed perfectly by the ASP.net improved functionality. You can add many users and database tables must be updated. Authentication in ASP.net uses the database tables for authentication and users are checked for the existence.

5. Cookies are used for the authentication but some browsers do not support the functionality. So tickets are attached for authenticating the users. Secure socket layer is also applicable and provides security to the online users. Time out is also used for detaching the user from the server and again the password and login id comes in to play.

Read More...

Friday, January 16, 2009

Important Features of DOT NET

1. Interoperability support
You can easily migrate from any programming language to the.net with an ease. You will find it really easy to migrate if you are from COM or java. In fact the Microsoft has the migration utility to automatically migrate existing java code into that of C#.

2. Common Language Runtime (CLR)
Microsoft has come up with this engine which is shared by all the programming language like C Sharp, VB, Visual C++, JavaScript, VB Script etc and the language supported by .net. With the help of CLR you can make base classes in C#, child class vb.net and aggregate in visual C++. This is really the idea which not only you but all of us have experienced to be very handy. This is really the most important achievement as far as the Microsoft is concerned.

3. Base Class Library
Can you guess why java appears to be so versatile and cross platform independent? Yes if you have guessed the class library then you are absolutely right. However you will find it really great how it is implemented in the .net technology. It has moved a step further by making them available for all the languages. With them you are now capable of using features like string manipulation, exception handling, remoting, collection management construct in the same way for all the languages that are supported by the CLI.

4. Common type system( CTS)
You will really be amazed when you will come to know that the data types remain the same as far as all the languages supported by the ClI is concerned.

5. Easy deployment technique
The applications can now be deployed easily with just the help of XCOPY of the assemblies, asp.net files and configuration file. There is no more the need of the DLL.

6. Improved web services
With the implementation of Web technologies like ASP.NET you will definitely find that you can now develop more advance and powerful web application.

Read More...

Thursday, January 15, 2009

Microsoft launched Robotics Studio 2008

Microsoft launched Robotics Studio 2008 in mid-November. New version of Robotics Studio is a whole set of tools designed to help developers write code that controls robots. The Microsoft Robotics Studio is a Windows-based environment for robot control and simulation. It is aimed at academic, hobbyist, and commercial developers and handles a wide variety of robot hardware. Robotics Studio 2008 offers a suite of tools that makes it easy to write code that controls robots, from simple robots to advanced robots. Application developers can choose from the Visual Programming Language within the Microsoft suite or C# to create code.

Read More...

Sunday, January 11, 2009

Tips on getting your ASP.NET Dynamic Data questions answered quickly

When you run into an issue or have a question about ASP.NET Dynamic Data, the best place for it is the Dynamic Data Forum. When you write your question, there are a few simple things that you can do to make it easier for the ‘experts’ to answer (and hence to get an answer quicker!).

1. Mention what ORM framework you are using
Out of the box, Dynamic Data supports LINQ To SQL and Entity Framework. While they seem similar on the surface, they are actually fairly different once you get a little deeper into the API. Just mention which one you’re using and you’ll save a roundtrip.

2. Mention what release you’re using
The official release of Dynamic Data is the one that comes with .NET Framework 3.5 SP1 (or Visual Studio 2008 SP1). There are also various preview bits and samples that you can download from Codeplex. Just mention exactly what you are using. If you’re using some preview bits, you can include a link to them to them to remove any ambiguity.

3. When possible, report issues using a standard database
Obviously, we don’t expect you to use Northwind or Adventure Works in your real project. But when you run into an issue with your custom schema, you should always check whether you are able to see the same thing with the standard DBs. Those DBs have schemas which contain many of the common patterns that you may be using. e.g. For One to Many relationship, you Northwind’s Product/Category, and for Many To Many, use Employees/Territories.

There are a few reasons why doing this is preferred. First, most readers are familiar with those schemas, so they can make sense of the situation quicker without having to analyze a custom schema. It also makes it a lot easier for people to try to reproduce the issue you’re seeing, since everyone has those sample databases. And finally, if the issue calls for a sample that demonstrates a workaround, using the standard DB, makes it much more useful to everyone else who runs into it.

Clearly, there are some situation where your custom schema is just different and using the standard DBs will not work. In those cases, just try to precisely describe your schema. Including a diagram can help too. In a nutshell, make sure that a reader not familiar with your database will understand enough of it to make sense of your question.

4. Try to isolate the issue

If an issue you see in a complex scenario can also be seen in a simpler scenario, it is always better to report it on the simpler scenario. It makes the question shorter and easier to read, as it keeps it focused on the essential.

5. Disable AJAX partial rendering
If you’re getting Javascript errors, the first thing you should try to to disable AJAX partial rendering. Please see this post for more details on this.

6. Include complete stack traces
If you’re getting an error in the browser, make sure you include the full stack trace that you see in there, and not just the text of the error. Looking through a stack trace can reveal some important clues about the issue.

Read MOre...

Monday, January 5, 2009

The perfect time to release source code?

Microsoft released last week a ASP.NET MVC demo project called "Oxite" and many Newssites wrote things like "MS launched open source blogging plattform". It´s great that Microsoft released the source code, but on the other handside, there are many criticisms from the alpha geeks. The question is: Should source code only released if it is "perfect"?

As a software developer I think open source is great and I´m very happy that open source is becoming more and more popular. Even development teams at Microsoft release more and more open source code (e.g. MEF, .NET Framework…). "Oxite" was developed by the MIX Online team.

What is Oxite?
"Oxite" is a blogging plattform. It use the new ASP.NET MVC framework (which is itself beta). The Microsoft ASP.NET MVC team don´t even know, that the MIX guys use their stuff. Unfortunately the source code isn´t a great resource for a beautiful architecture (currently - refactoring is going on!).

The problem with Oxite
Every developer know: You don´t have endless time or endless money and your customer wants to see something. Often the right guys with the know how are unrechable and that´s why you are now the developer who implements it - the first time of course!

Read More..

How to make a Gmail-like loading indicator with ASP.NET Ajax

The application uses a few ASP.NET Ajax controls so I was pretty surprised when the customer sent me an email saying that he liked all the dynamic loading and the fact that he could reorder "things" using drag&drop and saving them without waiting the page to reload, but it took him a while to understand was going on. The first time he clicked the button, and since nothing happened, he thought that something was going wrong, so he kept clicking on the button, an yet nothing happening.

The problem was that since all the Ajax interactions happen behind the scenes asynchronously, the user doesn't understand what's going on: sometimes the user doesn't need to know what's going on (like when you are just reloading some data), but when he presses a button he needs to know that he did the right thing and that something is happening. With the "old style" ASP.NET a postback would have been initiated, so it was obvious that something was happening, but how to do it using Ajax?

That is pretty easy to accomplish with ASP.NET: just drop in an UpdateProgress control and it will be displayed when an Ajax postback happens.

But, as default behavior, the UpdateProgress is displayed in the position where it is added to the page, so, if your page is longer than a scroll page, the indicator could not be visible: it has to be positioned relative to the browser window and not relative the html document.

Read More...

Monday, December 22, 2008

Ruby on Rails 10 Tips

1. Use ActiveResource and avoid ActiveWebService. With ActiveResource and multiview support in Rails 2.x you can easily expose RESTful models as well as Atom/RSS feeds on these models as well as JSON and any other view format you can wish for.

2. Consuming ActiveResource is easy by using self.site = "URL" in the client side. However, that does not add data to the DB and every query will result in a REST call. Caching data is key.

3. Use Rake to automate any other tasks you do. Custom Rake tasks are easily added in lib/tasks. Use $rake -T to see current tasks available, including yours.

4. Use database migrations to update models once your design is solid and you have a first release and cannot avoid data losses. That is, to be clear, use one migration per model early on and then once app is released for beta, every change to the models should be via new migration (not an update to the old migration). This will save lots of headaches in future and allow you to easily move application from one version to next one.

5. Use Solr vs. Ferret for models searchability and associated acts_as_xyz plugins. This is due to the fact that Ferret indexes tend to get corrupted. This, in some sense, is a shame since Ferret is a nice and easy plugin.

6. Make sure to use Rails validations in your models. I would avoid special DB statements in migration code. This makes it easier to move to different DB, e.g., MySQL to DB2.

7. Use view partials to keep your views DRY. Essentially, partials should be any view code that is repeated, similar to a subroutine call (PullUp or PushDown method refactoring). Use a app/views/shared directory for partials that are across controllers. Also, always use the controller (or shared) name when calling the partial.

Read More..

Top 10 .NET News Stories of 2008

It’s that time of the year to reflect, analyze and compile our lives into a series of Top 10 lists. As with every other Top 10 list, the items on this list and their order are highly subjective. For example, some companies may not care about future versions of .NET — version 2.0 works just fine, thank you. Other companies may need to develop a web application, so Silverlight 2.0 is their top story of the year. So please comment below with your Top 10 List.

Following are the Top 10 stories in 2008 about software development with the Microsoft .NET Framework:

1. Visual Studio 2010 and .NET Framework 4.0 Announced

The biggest .NET buzz of 2008 came from the announcement of the next generation of the .NET Framework, C#, Visual Basic and Visual Studio, all to be released in 2009. New features include modeling tools integrated into the Visual Studio IDE, support for UML and Domain Specific Languages, improved testing tools, substantial improvements in collaboration capabilities, ability to link work items with code and models, and workflow-based builds. There are also significant improvements in C# 4.0 including co-variance and contra-variance, named and optional parameters, dynamic variables and programming features, and improved COM Interoperability.

2. Global Economic Recession

This news story will likely appear in most Top 10 News lists for 2008. The global economic recession touches just about everything in our lives. For software developers and most workers, this deep and lengthy recession may result in company closings, layoffs, stagnant or reduced salaries, reduced company spending on equipment and developer training, and a significant drop in venture capital. This means more stress on developers and software entrepreneurs. And perhaps more opportunity for innovation.

3. .NET Framework Source Code Available

Microsoft released the source code for the .NET Framework under its Reference License. This makes it much easier to debug .NET framework issues since you can dive down into the .NET code. The “read-only” license enables developers to inspect the source code for reference and debugging, but not modify or distribute the code.

4. Visual Studio 2008 and .NET 3.5 Service Pack 1 Released

Microsoft released Service Pack 1 for Visual Studio 2008 and .NET 3.5. This update patched numerous bugs, improved performance, and even added a few new features. One of the best new features was a new .NET Framework installation optimized for client applications. The optimized download is less than 28 MB, compared to the original 200 MB download.

5. ASP.NET MVC Framework Introduced

MVC is a design methodology that divides an application’s implementation into three component roles: models, views, and controllers. ASP.NET MVC enables developers to build Model View Controller (MVC) applications with the ASP.NET framework and is an alternative, not a replacement, for ASP.NET Web Forms. ASP.NET MVC offers the following benefits: clear separation of concerns, support for Test-Driven Development (TDD), fine-grained control over HTML and JavaScript, and intuitive URLs. ASP.NET MVC is in the public preview stage and will be released to production next year.

Read More..

Thursday, December 18, 2008

Web 2.0 Marketing is Simpler than You Think

Experts say that a down economy is the best time to invest in marketing. At the same time you may be looking at your budget and wondering where the additional money will come to increase your marketing spend and what investments will drive the most revenue and profit for your company. Good news, all you need to know is a little about Web 2.0.

Marketing has grown beyond television, billboards and print. New Web applications are introduced almost daily. Each application allows your customers to interface with you and your business in a less-expensive, more productive manner.

Here are some quick ways to work Web 2.0 into your marketing plan:

Review your Web site
Look to increase ways for your customers to talk with you. Offer live chat options increasing your technical support or support desk offerings. ZaZa Chat and Volusion both offer easy to use interfaces for your customers and your business. Allowing your customers to talk with your representative in both the consideration and purchasing stages can extend the reach of your staff and offer the availability your customer is seeking. If you are ready to expand your service offerings, this is a great option for technical or help desk support, allowing you to offer more with less investment.

Measure Marketing Success
If you have a Web site, you must measure your site’s effectiveness and how your customers interact with you. If not, you’re missing out on importance of Web marketing. Google, Yahoo and Microsoft offer business solutions to increase your SEO (search engine optimization) and SEM (search engine marketing). Online marketing allows for greater measurability of your campaigns and promotions. Investing in a company that focuses on SEO and SEM can increase your marketing campaigns and drive both customer retention and incremental new business.

Start Talking More

There’s no end to the number of communication applications. Social networks like Facebook are adding more than 100,000 new users a week. Your customers are already there. Not sure how to use Facebook, LinkedIn or Twitter? Consult with a social media marketing specialist. A good writer can assist you with your profiles, blogs and community interactions. It’s worth the expense to have a dedicated resource to keeping your information updated as the online marketing can go stale in a week.

Invest in Databases
I love Excel spreadsheets, but they cannot do what today’s customer relation management (CRM) systems can do. You can track everything about your customer from conversations to purchases to campaign responses. It’s a fact worth repeating: it costs five times more to get a new customer than it does to grow business with your existing customers. Keeping your customer information up to date will improve your customer satisfaction rates and prevent costly sales errors. Are you growing your services business? CRM databases are a must. Allowing your staff from marketing, sales and operations to view the activities, purchasing habits and renewal dates is crucial to growing revenues and profits.

Read More..

Tuesday, December 9, 2008

Microsoft Visual Studio 2008 Professional

Visual Studio 2008 Professional Edition is a comprehensive set of tools that accelerates the process of turning the developer�s vision into reality. Visual Studio 2008 Professional Edition was engineered to support development projects that target the Web (including ASP.NET AJAX), Windows Vista, Windows Server 2008, The 2007 Microsoft Office system, SQL Server 2008, and Windows Mobile devices. The number of platforms that developers must target to meet business needs is increasing rapidly. Visual Studio 2008 Professional Edition provides the integrated toolset for addressing all of these needs by providing a superset of the functionality available in Visual Studio 2008 Standard Edition.

Today�s developers face the challenge of targeting a broad range of platforms and crafting applications that quickly deliver value to the business. Integrated designers and language features in Visual Studio allow developers to build the connected applications demanded by today�s businesses while taking advantage of the .NET Framework 3.5 to reduce development time.

Deliver high-performance applications
Connect to the data you need, regardless of its location, and build datadrivenapplications using Language Integrated Query (LINQ).

Build great client applications
Develop compelling solutions that leverage the user experience and capabilities of the 2007Microsoft Office system and Windows Vista�.

Build powerful Web applications
Build rich, interactive applications using the ASP.NET AJAX interactive Web interfaces.


What's New in 2008
-> Build applications that utilize the latest Web technologies with improved support for AJAX and Web Controls and the Microsoft AJAX Library

-> Create Web applications more easily with an improved design surface and standards support

-> Utilize data from any data source more smoothly with LINQ, a set of language extensions to Visual Basic and Visual C#

-> Manage and build applications that target multiple versions of the .NET Framework. For the first time, you can use one tool to work on applications that run on .NET Framework versions 2.0, 3.0, and 3.5

-> Ensure application correctness more easily with integrated unit testing in Visual Studio 2008 Professional Edition

-> Discover the full power of the .NET Framework 3.5 with integrated tools which simplify building great user experiences and connected systems

-> Build stunning user experiences with integrated designers for Windows Presentation Foundation. Experiences built with WPF can interoperate seamlessly with Windows Forms

-> Create connected applications using new visual designers for Windows Communications Foundation and Windows Workflow Foundation

-> Use Visual Studio�s professional development environment to build Microsoft Office-based solutions that are reliable, scalable, and easy to maintain (available in Visual Studio 2008 Professional Edition only)

-> Enhance collaboration between developers and designers to create more compelling user experiences

Read More..

How to Retrieve a GridView Based on a CheckBoxList of Items with Asp.Net

The problem is you have a list that you want to retrieve from that contains multiple values. Say for example, you have a list of 5 cities and you want to retrieve a list of people in some combination of those cities. If you use the class SelectValue method with GridView you run out of steam because it’s only one value. What you’d really like to do is pass the CheckBoxList into the GridView as a selection parameter, but unfortunately, when you do that, you just get the one selected value from the CheckBoxList, not all the values.

I’m sure you can make a custom ControlParameter in ObjectDataSource to solve this, but I really don’t have time for that. I just wanted something quick (which I now have and thought I’d share).

Basically, what I did was create an invisible label on my GridView that will get the string of values I want to retrieve, then, my ObjectDataSource gets one value (the string) and parses it into small values. My plan is to do a quick run through of the code here, but then also post the project so you can see for yourself how it works.

Read MOre..

Monday, December 8, 2008

Building a Web 2.0 Portal with ASP.NET 3.5

If you think you're well versed in ASP.NET, think again. This exceptional guide gives you a master class in site building with ASP.NET 3.5 and other cutting-edge Microsoft technologies. You learn how to develop rock-solid web portal applications that can withstand millions of hits every day while surviving scalability and security pressures -- not just for mass-consumer homepages, but also for dashboards that deliver powerful content aggregation for enterprises. Written by Omar AL Zabir, co-founder and CTO of Pageflakes, Building a Web 2.0 Portal with ASP.NET 3.5 demonstrates how to develop portals similar to My Yahoo!, iGoogle, and Pageflakes using ASP.NET 3.5, ASP.NET AJAX, Windows Workflow Foundation, LINQ and .NET 3.5. Through the course of the book, AL Zabir builds an open source Ajax-enabled portal prototype (available online at "www.dropthings.com"), and walks you though the design and architectural challenges, advanced Ajax concepts, performance optimization techniques, and server-side scalability problems involved.

Read More...

How to build an advanced ASP.NET AJAX Photo Slideshow featuring imaging effects and watermarks with ImageDraw for ASP.NET

Technologies used
- Neodynamic ImageDraw (3.0 or later) for ASP.NET
- Microsoft .NET Framework (2.0 or later)
- Microsoft ASP.NET AJAX Framework (1.0 or later)
- Microsoft ASP.NET AJAX Control Toolkit
- Microsoft Visual Studio .NET (2005 or later - Visual Web Developer Express Edition)

This ImageDraw demo - which source code files can be found at the end of this page available for downloading - demonstrates how easily you can use ImageDraw object model and ASP.NET AJAX Framework to design an advanced AJAX-based Photo Slideshow. This demo is based on the Slideshow (SlideShowExtender) sample of AJAX Control Toolkit (http://www.asp.net/AJAX/AjaxControlToolkit/Samples/SlideShow/SlideShow.aspx)

The following figure is a screenshot of the ASP.NET AJAX Photo Slideshow application that leverages ASP.NET AJAX Framework, ASP.NET AJAX Control Toolkit and ImageDraw. Each photo slide is dynamically created by ImageDraw objects adding built-in Rounded Rectangle Shapes for photo metadata; applying the desired imaging effect on the original photo and stamping the ImageDraw logo for watermarking.

Read More..

Microsoft Web Platform Installer Release Candidate

Release Candidates of the Microsoft Web Platform Installer are now available. Microsoft Web Platform Installer is a free tool that makes it simple to download and install the latest components of the Microsoft Web Platform, including:

- Internet Information Services (IIS) 6.0 and 7.0
- SQL Server 2008 Express
- .NET Framework 3.5 SP1
- Visual Web Developer 2008 Express SP1
- Popular ASP.NET applications
- Popular PHP applications

The Web Platform Installer offers a single installer to help you obtain the software you need to build and run a complete Web solution on the Microsoft Web platform, whether you are using Windows XP, Windows Server 2003, Windows Vista, or Windows Server 2008. In addition, the Web Platform Installer checks online to ensure the most current versions and new additions to the Microsoft Web Platform are downloaded.

What is the Microsoft Web Platform Installer? (WebPI):


The Web Platform Installer (Web PI) is a simple tool that installs Microsoft's entire Web Platform, including IIS7, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installer’s user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform.

What is the Microsoft Web Application Installer? (WebAI):

The Web Application Installer Beta is designed to help get you up and running with the most widely used Web Applications freely available for your Windows Server. Web AI provides support for popular ASP.Net and PHP Web applications including
- Graffiti
- DotNetNuke
- WordPress
- Drupal
- OSCommerce

and more. With just a few simple clicks, Web AI will check your machine for the necessary pre-requisites, download these applications from their source location in the community, walk you through basic configuration items and then install them on your computer.

Read more...

Yahoo taps EKA supercomputer

In a research pact with Yahoo Inc., India's Computational Research Labs (CRL) will provide its EKA supercomputer—claimed to the fourth fastest in the world—for research into cloud computing, which aims to provide supercomputing power over the Internet.

Researchers on the project will tap Apache Hadoop (an open-source distributed computing project of the Apache Software Foundation) to perform data-intensive computing research using CRL's EKA, a 14,400-processor supercomputer that delivers 28Tbytes of memory, 140Tbytes of disk space, peak performance of 180Tflops and a sustained computation capacity of 120Tflops by the Linpack benchmark.

Of the top 10 supercomputers in the world, EKA is the only supercomputer funded by the private sector. It is available for use on commercial terms.

EKA is expected to run the latest version of Hadoop and other Yahoo-supported, open-source distributed computing software (such as the Pig parallel programming language) developed by Yahoo Research.

"This partnership brings together Yahoo's leadership role in the development of Hadoop and CRL's expertise in high-performance computing and will help bridge the gap between traditional supercomputing and cloud computing research in India," said S. Ramadorai, chairman of CRL, a subsidiary of India's Tata Sons Ltd.

"We have made our leadership in supporting academic cloud computing research very concrete by sharing a 4,000-processor supercomputer with computer scientists at Carnegie Mellon University for the last three months," said Ron Brachman, VP and head of academic relations at Yahoo. "Launching our cloud computing program internationally with CRL is another significant milestone in creating a global, collaborative research community working to advance the new sciences of the Internet."

Read More...

Saturday, December 6, 2008

10 Dirty Little Web Development Tricks

1. I finally got work to switch from CVS to SVN o.O I finally got us to use "svn up" for staging, but not yet for production… We’re using "svn export --force" for production, which I guess is kind of nice, but afaik it doesn’t delete any files that were deleted in the repository… or if it does, then it also probably ends up deleting any uploaded/cached files as well.

2. I like using the CSS reset from Eric Meyer, but certain people at certain places I’ve worked at are doing well if they can remember an id is supposed to be unique on a page & that the class attribute is a space separated list (not a single value!) that can be used for more than CSS >.< … Granted, a particular brand of browser is doing good if it can figure out how to apply multiply classed CSS definitions to an element (i.e. .class1.class2 { color: #00f; } should be applied to ).

3. Kind of have system & static stuff separated at my current place of employment - templates, css, etc go into a templates directory under htdocs & people are too scared to use a framework or an index router >.< My preference is a framework that can handle this (see Symfony or ZF)

4. I don’t drink coffee, but it’s a nice idea - I’ve been drinking caffeine (in the form of pop) before going to bed for years… It helps me go to sleep. I have been drinking XS (no, it doesn’t use sugar - it uses Ace-K as a sweetener, uses B vitamins for the boost [similar to that 5 hour energy drink], and has lots of yummy flavors) to prolong the time before I need to get to sleep. Drinking 1 right before bed can also help give a boost in the morning.

5. Underscores are nifty, but I think he’s missing the boat - generally speaking, come up with a useful convention for letting the file system organize files in general… underscores are great, but other things deserve organization as well - i.e. date based data output should be done in YYYY-MM-DD format for automatic sorting as another example.

Read More..

User Interface Automation Evolution in Windows 7

Microsoft is leaving no components of the Windows client “unturned” in the evolution from Windows Vista to Windows 7. Loyal to the strategy of building the next Windows operating system as a superlative of Vista in all aspects, the Redmond company's overhauling efforts span from Win7's under-the-hood architecture to the GUI on the surface, and to the natural user interface interaction model. Michael Bernstein, the development lead for Accessibility and Speech Recognition experiences in Windows 7, pointed to the Microsoft User Interface Automation as the evolution of the foundation for accessibility in the next iteration of the Windows client.

“In Windows 7, we invested in improving the performance of the UI Automation system, and created a new, native-code API for UI Automation, to make sure that it can be used effectively by a wide range of assistive technology software,” Bernstein explained.


“Now applications written in C++, as well as those written using the .NET Framework, can take advantage of UI Automation. We also did a bunch of work to make sure that the UI Automation system was integrated even more closely with the legacy Microsoft Active Accessibility (MSAA) system, and developed new bridging techniques between the best of the new and the old technologies.”

The Windows accessibility framework, intimately connected with the Windows Presentation Framework, is designed to take the manipulation of the UI beyond standard input via assistive technology products. A collection of applications programming interfaces and a set of default features, Windows Accessibility is designed to open up the operating system to as much people as possible, regardless of physical or cognitive disabilities.

“UI Automation Clients can read Accessibility information from MSAA applications, and vice versa, to ensure maximum Accessibility, regardless of which accessibility API an application used originally,” Bernstein added. “Since the UI Automation and MSAA systems cooperate closely in many scenarios, we decided to name the combination of the two, calling it the Windows Automation API. This architecture forms the foundation for the rest of our Accessibility effort, and we’re pleased to have this Accessibility foundation Windows 7.”

Read More...

Wednesday, December 3, 2008

Features of Visual Studio 2008

Microsoft Visual Studio 2008 Professional Edition supports developers working on projects that target the Web (including ASP.NET AJAX), Windows Vista, Windows Server 2008, the 2007 Microsoft Office system, SQL Server 2008, and Windows Mobile devices.

Features

Write code faster
Use productivity-enhancing features such as IntelliSense technology, auto-completion, method lookup, syntax and type checking, code snippets, and more.

Build software for Windows
Develop with the Windows APIs or .NET Framework using the same tools to build Windows services, applications, utilities, games, or business applications.

Build software for the Web
Build dynamic Web sites that use AJAX programming techniques to optimize the user experience, or build Web services that integrate applications.

Build software for the Microsoft Office System
Build Office Business Applications to connect end users with data and businessprocesses managed by back-end systems through familiar Office programs.

Build software for mobile devices
Write embedded software and compelling mobile applications that extend data in line-of-business systems to mobile workers.

Read More..

Microsoft's C# to converse with dynamic languages

The next version of Microsoft's C# will see interoperability between languages for the enterprise and web, and with Microsoft's legacy COM architecture.

C# 4.0, expected with the next version of Visual Studio, will support something called dynamic look up in order to call dynamic languages like JavaScript, Python and IronPython from inside C#. Visual Basic .NET already works with dynamic look up.

Improved interoperability with Microsoft's Component Object Mode (COM), which gave way to .NET eight years ago, is also planned.

The idea is you'll be able to write C# code that looks like Office for Visual Basic as the dynamic look up will let you use C# to invoke any COM IDispatch object.

The statically typed C# was introduced with .NET in 2000 and has found huge success in the enterprise during the intervening eight years.

Microsoft, though, wants to make it easier for developers to call classes in dynamic-typed languages, particularly its versions of Python and Ruby - IronPython and IronRuby.

Anders Hejlsberg, the renowned software engineer working at Microsoft and lead C# architect, recently demonstrated C# 4.0 talking to JavaScript and IronPython.

Hejlsberg, speaking at Microsoft's Professional Developers' Conference (PDC), said he wanted to bring down the barriers not make things harder for those building in C# and using declarative and dynamic programming languages and methods.

"People say: 'Anders have you gone stark raving mad, haven't you taught us for 10 years static is the right and only way?," he told PDC.

"I'm not saying re-write all your code to be dynamic... However there are an increasing number of things that are important to talk to in your applications that are not dynamically typed and we should ask: should we make it harder to talk to, or easier?'"

Read More..