Archives for February 2013

How to Increase Performance of Your ASP.NET Application

speedupaspnetapplicationsThe key to a successful enterprise level application is the responsiveness of the application. ASP.NET has numerous features for developing enterprise applications but sometimes, your application is not as fast as it should be. If you are encountering performance issues in your ASP.NET application, check out these useful tips to make your application fast and responsive.

Here are a few of these tips:

  1. Use cache to decrease server round-trip and boost application performance.
  2. Remove blank spaces from your HTML file.
  3. Use master pages for ASP.NET 2.0 or higher.
  4. Use ADO.NET asynchronous calls for ADO.NET methods.
  5. Do IIS performance tning.
  6. Disable view state of your controls if possible.

Read the rest of the tips in this blog:

Windows Azure Releases Azure Media Servies

windowsazuremediaservicesWindows Azure Media Services is now in the general availability (GA) release. This means that the release of Windows Azure Media Services is now live in production and is supported by media services dev center and backed by enterprise SLA. It is now ready to be used for all media projects.

With this release, you now have everything you need to build an extremely scalable, end-to-end media solutions for streaming video to consumers on any device. You can now easily create media services for videos to your customers or employees within the company or build a premium video on-demand similar to NetFlix or Hulu.

Read the rest of the update in

Introduction to XAML

If you are coding in .NET, and a basic knowledge in XML, you will be familiar on how XAML is used. XML is a language for .NET 3.0 which is responsible for creating forms and elements. It is also a markup language similar to HTML. Unfortunately, there is no GUI tool for now that helps in coding with XML, so you’ll have to do each code manually.

For starters, create a simple button using XAML. You can do that by using this code: <Button />. It is also possible to add height and width attribute to the button like this: <Button height=”100″ width=”80″ />

Read the rest of the tutorial here:

How to Extend the ASP.NET Optimization Framework

The process of implementing a minification and bundling offers a lot of shortcomings and is a waste of time if you don’t know what you are doing. If you want a more optimized ASP.NET, implement ASP.NET Optimization Framework. To implement Optimization Framework, you need to create a class named BundleConfig. Then pass a collection of bundles in this class.

There are other steps involved in extending ASP.NET Optimization Framework, so I suggest to read this ASP.NET blog for a detailed tutorial.

The purpose of this tutorial is to disassemble Microsoft’s bundling and minification solution and how to derive and implement it in our own classes to achieve what we want.

How to Move ASP.NET Single Page Application to TypeScript

TypeScript is a language for JavaScript development. It is compatible to any host, operating system, and browser. TypeScript is also open source which means you can configure You try out TypeScript by moving your ASP.NET Single Page Application to TypeScript.

All you need to do is have the needed software installed in your system:

  • ASP.NET and Web Tools 2012.w
  • TypeScript for Visual Studio 2012
  • My ASP.NET SPA TypeScript Application

The move these file to TypeScript. These are located under Scripts folder.

  • todo.binding.js
  • todo.datacontext.js
  • todo.model.js
  • todo.viewmodel.js

Read the tutorial in this blog for a complete and detailed instructions.

How to Bundle and Minify ASP.NET MVC

Bundling and Minifying ASP.NET is a powerful feature to help optimize your website and save expenses on bandwidth. It helps you download of the same type using one request instead of multiple request and it takes less requests than requesting all files separately.

In ASP.NET MVC 4, you can find BundleConfig.cs file under App_Start folder. This file has the BundleConfig class which contains one method – the RegisterBundles(). With this method, files that must be downloaded with one request are added to the bundles.

Bundling is a powerful tool which lets you optimize your web page. However, it has its own limits and tricks that you must know to use it successfully.

Read the rest of the tutorial in ASP.NET blog.

ASP.NET and WebTools Release Candidate 2012.12

This week, ASP.NET and Visual Developer Teams have delivered the release candidate of ASP.NET and web Tools 2012.2 update. With this update, it extends the existing ASP.NET runtime and ads a new web Tooling to Visual Studio 2012. So, whether you use Web Forms, Web API, or any other ASP.NET technology, today’s update has something cool for you.
There are plenty of ASP.NET enhancements like:
New ASP.NET MVC templates
Real Time communication with ASP.NET SignalR
New ASP.NET web functionality
New Friendly URL functionality,
and other cool features.

Check out this blog to see a list of the cool new features of ASP.NET and Web Tools 2012.2 RC.

How to Build Web Apps with ASP.NET Jump Start

With the recent update, ASP.NET Web Tools have come up with amazing new features. It has so many of them that you will find it hard to keep up.

Luckily, there is an event in February 19 which explains all these nifty features and how you can take advantage of it. The speaker is Scott Hanselman and Jon Galloway. It is a Microsoft Learning a.k.a Virtual Academy lauchend for the following ASP.NET features:

  • New ASP.NET web forms
  • jQuery
  • Visual Studio 2912
  • Entity Framework
  • SignalR
  • Internet Explorer 10 and HTML5
  • Building web apps for Office using HTML5
  • Windows Azure Website for ASP.NET developers

This is a great way to keep up with the latest releases. If I were you, sign up now to reserve your spot.

Top Ten Articles About ASP.NET

If you are itching to try out some code or want to learn about the old and new features of ASP.NET, you have to read the top ten articles about ASP.NET. This features the best and the greatest articles about ASP.NET in Here is the list:

Tips and Tricks in Using GridView in ASP.NET
How To Open Popup Windows in IE/FireFox and return values Using ASP.NET
How to Delete Multiple Rows in GridView
Check or Unchek all Items in CheckBoxList using ASP.NET and JavaScript
How to Implement Keyboard Shortcuts using ASP.NET and JavaScript
How to Save and Retrieve Images from Database
ASP.NET Validation Controls
How to Call Server Side Function from Client Side Code using PageMethods
ASP.NET Interview Questions – Beginner
ASP.NET AJAX Calendar Extender – Tips and Tricks

Read the rest of the post in

How to Get Started with ASP.NET Web API OData

With the upcoming release of ASP.NET 2012.2 rC, the developers will be adding suport of OData WEb API. It is not as hard as you think it is, in fact, you can get stared with ASP.NET Web API OData in three easy steps:

Step 1: Create your EDM Model
Step 2: Configure your OData Route
Step 3: Implement the OData Controller
Be reminded that the code snippets that will be available in this tutorial won’t work unless you are using then nightly build. Upgrade to the latest nightly build using the instruction found in the MSDN website.

Read the rest of the tutorial here: