Ramani Sandeep's Blog

DotNetting – Fast , Easy Way of Developing Applications

Archive for the ‘Visual Studio’ Category

Improving ASP.NET Security with Visual Studio 2010 Code Analysis

Posted by Ramani Sandeep on January 5, 2011

Anyone doing ASP.NET development probably admits, openly or not, to introducing or stumbling upon a security issue at some point during their career. Developers are often pressured to deliver code as quickly as possible, and the complexity of the platform and vast number of configuration options often leaves the application in a less than desirable security state. In addition, the configuration requirements for debugging and production are different, which can often introduce debugging settings in production, causing a variety of issues.

Over the years, the ASP.NET platform has matured and better documentation has been made available through MSDN and community blogs, but knowing which feature or configuration setting to use is often troublesome. Even with good knowledge of the security functionality, mistakes can happen that could result in security vulnerabilities in your application.

Peer code review is a useful process and a good way to catch issues early. Still, not everyone has the time or budget—or knowledgeable peers at hand—for such review.

Since the introduction of code analysis in Visual Studio 2005, developers have been able to automatically analyze their code to see if it complies with a series of best practices ranging from design, maintainability, performance and security. So far, code analysis has been a great tool, but it hasn’t focused on providing best security practice guidance for ASP.NET—until now.

In this article I’ll introduce you to the new ASP.NET code analysis rules that can be used with Visual Studio code analysis as well as with the standalone FxCop application to improve the security of your ASP.NET applications.

Read more…

Hope this will helps !!!

Jay Ganesh

Posted in ASP.NET 3.5, ASP.NET 4.0, Visual Studio | Tagged: , , , | Leave a Comment »

Visual Studio LightSwitch

Posted by Ramani Sandeep on September 1, 2010

Microsoft has announced a new product called Microsoft Visual Studio LightSwitch, which the company claims is the simplest way to build business applications for the desktop and cloud. LightSwitch is a new member of the Visual Studio family focused on making it easy to develop line-of-business applications.

What is LightSwitch?

Visual Studio LightSwitch includes pre-built templates and tools in a simplified development environment for building scalable custom business applications that connect with existing applications, legacy systems, and Web services. Developers can choose from a wide variety of hosting, deployment, and third-party plug-in options. Deployment is simplified in that applications (which are at their core Silverlight applications) can be deployed to the client, browser, and even Windows Azure (post-beta). LightSwitch can be used with C# or Visual Basic and it supports SQL Server, SQL Azure, SharePoint, and Microsoft Office.

LightSwitch dramatically decreases the time it takes to build a custom application by automatically handling routine code; it’s a rapid application development tool that offers application shells and screen templates to allow the developer to concentrate on the core business logic.

Security is an important aspect of any business application. LightSwitch provides authentication and authorization features that let you define users and roles. This prevents unauthorized access to sensitive data.

Extensibility features in LightSwitch let you change the appearance of your applications by applying themes, using custom controls, and changing the layout with shell extensions. Custom business types help reduce the code that you write. For example, the Money data type can treat numeric types as currency. This eliminates the requirement to apply formatting in the user interface.

What is the difference between LightSwitch and WebMatrix?

  • Both are tools for building applications, but the approach and target audience is very different:  “WebMatrix is HTML UI and LightSwitch is Silverlight UI”.
  • WebMatrix is a tool that includes a Web server (IIS Developer Express), a simple database (SQL Server Compact), and programming framework (ASP.NET). It is targeted at non- professional developers to make it easier to create new websites from scratch, or use Microsoft’s Web Application Gallery to customize popular ASP.NET and PHP open source community applications. In contrast, LightSwitch is targeted at professional developers and power users looking to create custom Line of Business (LOB) applications using data from multiple sources.

Create Your First LightSwitch Application

If you want to create your first application in lightswitch than here are the steps that will guide you.

Summary

LightSwitch will not be for every developer or for every business application you write, especially if you have sophisticated needs.  At the same time LightSwitch applications themselves are robust and are built on top of .NET technologies including Entities and WCF, the same technologies you already choose from when you write your apps today.

Useful Reference :


Hope this will help !!!

Jay Ganesh

Shout it

kick it on DotNetKicks.com

Posted in Visual Studio | Tagged: , | 4 Comments »

VS debug problem with ie8

Posted by Ramani Sandeep on February 3, 2010

How VS debugger could be crashed with IE8?

If you opened multiple instances of IE8 and you attempt to debug your project, you mostly will have the issue where VS debugger just stops and ignores your break points!

Read more

Posted in Visual Studio | Tagged: , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 317 other followers