best practices for dot net application development in 2016

13
Best Practices for Dot Net Application Development in 2016 By Valueedge Solutions

Upload: valueedge-solutions

Post on 23-Jan-2017

214 views

Category:

Software


0 download

TRANSCRIPT

Best Practices for Dot Net Application Development in 2016

Best Practices for Dot Net Application Development in 2016By Valueedge Solutions

Dot Net Does it need any introduction?A novel consistent software framework by MicrosoftAs rightly depicted by Microsoft Any developer, any app, any platformScalable and capable of creating powerful applications online

Why is Dot Net Rising on the Popularity Chart?Enhanced security for web based applicationsDevelopment output is typically WYSIWYG Framework helps reduce code quantitySignificant collection of supporting toolsDrag & drop capabilities, server controls

Best Practices for Dot Net Development

Following Conventional Coding practices

Simplistic code writingConsistency can be set up while avoiding exceptions and errors. Commonly recognized standards for code layout, naming, appearance.

Monitoring Application Performance

A recommended technique by experts.To measure the code performance, so as to tune the application better. Use analyzers to monitor application performance, and identify bottlenecks.

Security

Use SQL parameters instead of concatenating strings while building SQL queries. Any values that are pulled from the application should be populated as SQL parameters. Users should not have rights to write or inject SQL code.

Coding for string specific parameters

Try and check if the string length is set to 0. Variable checks for measuring string length Use string.format method instead of appending or concatenating strings manually.

Exception Identification

A good practice to catch specific exceptions, rather than generic exceptions.

Implementing Design & Architecture

Recommended to use an appropriate architecture or patter (such as MVC) while using the .Net framework.

Increased Use of Inheritance

Must advocate the use of inheritance features, although this best practice is not just limited to the .Net framework. Round trips should be avoided

Developers should try and incorporate client side validation / client side scripts. Wherever feasible, Ajax UI can be implemented using dot net development.

Dispose / Close resources

Developers need to ensure that if an object is provisioned, the Close or Dispose method needs to be called. Connections should be opened just before the requirement, and closed out as applicable.

Use of DataReader

If data caching is not required, it makes sense to use DataReader for efficient data binding.

Dot Net Development Today On a Rising Spree

Visit www.valueedgesolutions.com and request a Quote/Proposal for any of your .Net Development Needs

Getting ThereSilent PartnerYouTube Audio LibraryJazz & Blues111572.055