Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
 
 
DZone MVB

Links

Social

Browse by Tags

All Tags » ASP.NET (RSS)
ASP.NET MVC: Helper method to display date ranges
I have events web site where I want to show events start and end time to visitors. I wrote simple extension method called DisplayTimeRange() to display event time range on user-friendly manner. My goal is to show times as 01.01.2012 10:00 – 14:00 and...
Posted: Dec 31 2011, 11:53 AM by DigiMortal | with 7 comment(s)
Filed under: ,
Deploying independent web applications to Windows Azure using single web role
I found very good blog post by Andy Cross’ Blog where he describes how to deploy multiple web sites in a single Windows Azure web role . I like the idea but there are some things that should be understood and done differently if you plan to use same web...
Posted: Dec 29 2011, 07:57 PM by DigiMortal | with 1 comment(s)
Filed under: ,
ASP.NET security update shipping tomorrow
Out-of-band security update will be published for ASP.NET tomorrow. Security update will solve publicly known DoS issue that exists in all versions of ASP.NET. Update will be delivered through Windows Update and Windows Server Update. More details: ASP...
Posted: Dec 29 2011, 06:23 AM by DigiMortal | with no comments
Filed under:
ASP.NET MVC: Simple view to display contents of DataTable
In one of my current projects I have to show reports based on SQL Server views. My code should be not aware of data it shows. It just asks data from view and displays it user. As WebGrid didn’t seem to work with DataTable (at least with no hocus-pocus...
Posted: Nov 19 2011, 01:46 PM by DigiMortal | with 1 comment(s)
Filed under: ,
ASP.NET MVC: Converting business objects to select list items
Some of our business classes are used to fill dropdown boxes or select lists. And often you have some base class for all your business classes. In this posting I will show you how to use base business class to write extension method that converts collection...
Posted: Nov 10 2011, 11:10 AM by DigiMortal | with 4 comment(s)
Filed under: ,
ASP.NET 4.5 Preview: Using model binding to update data
My last posting about ASP.NET 4.5 introduced how to use strongly typed controls to display data. Using strongly typed presentation layer templates is not the only thing that model binding is good for. From ASP.NET MVC we know how convenient it is when...
Posted: Oct 13 2011, 04:23 PM by DigiMortal | with no comments
Filed under:
ASP.NET 4.5 Preview: Using model binding to display data
ASP.NET Forms 4.5 Preview introduces us model binding for web forms. Web developers who are familiar with ASP.NET MVC already know what model binding is and how powerful it is. Model binding means framework ability to construct objects of known types...
Posted: Oct 13 2011, 01:14 PM by DigiMortal | with 1 comment(s)
Filed under:
ASP.NET MVC 4: Display modes
One new features of ASP.NET MVC 4 is support for display modes. This means that you can conditionally show different output to different user agents like desktop and mobile browsers. Of course, you can define your own custom rules too. In this posting...
Posted: Sep 18 2011, 09:06 PM by DigiMortal | with 5 comment(s)
Filed under: , ,
ASP.NET MVC 4: New mobile web application template
ASP.NET MVC 4 Developer Preview introduces also new template for mobile web applications. These templates are special because they are using jQuery Mobile – special jQuery library for building mobile user interfaces. In this posting I will show you how...
ASP.NET MVC 4: New template for web applications
I’m playing with ASP.NET MVC 4 Developer Preview. There is new default application template available for ASP.NET MVC 4 web applications. New template is modern, has better look than current one and has better support for different screen sizes. In this...
Posted: Sep 16 2011, 12:09 PM by DigiMortal | with 5 comment(s)
Filed under: ,
More Posts Next page »