Archive for the ‘ASP.NET’ Category

ASP.NET MVC 2 Released

Final release of ASP.NET MVC 2 is now available for VS 2008/Visual Web Developer 2008 Express with ASP.NET 3.5.
Download Links:

Download ASP.NET MVC 2 using the Microsoft Web Platform Installer
Download ASP.NET MVC 2 from the Download Center

 
What is new in ASP.NET MVC 2?

New Strongly Typed HTML Helpers
Enhanced Model Validation support across both server [...]

Leave a Comment

Return DataTable from Web Service

I know this is an old theme but I had to write a sample app for demonstration in a tech forum. So reproducing here also.
Importantly, the DataTable/DataSet must be serializable.
ASMX Code:

public class Service1 : System.Web.Services.WebService
{
 
[WebMethod]
[...]

Leave a Comment

N2 CMS - Good .NET CMS

N2CMS is a simple easily extendable CMS. Every ASP.NET web developers must try it. I felt the power only after my first trial.

Check: N2 Open Source ASP.NET CMS
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

High-Performance .NET Application Development & Architecture

Found this useful link while surfing.
Check this: http://www.developerfusion.com/article/5385/highperformance-net-application-development-architecture/
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

ASP on Vista Error: Disallowed Parent Path cannot contain ‘..’ to indicate the parent directory.

Classic ASP may give you this error. Full error is something like this:
Active Server Pages error ‘ASP 0131′
Disallowed Parent Path
/include/login.asp, line 1
The Include file ‘../includes/hello.asp’ cannot contain ‘..’ to indicate the parent directory.

You can do this on Windows Vista/IIS7

Start Internet Services Manager.
Click Default Web Site, and then click Properties.
Double-click ASP in the [...]

Leave a Comment

My first artile on CodeGain.com - Custom Membership provider for SharePoint

www.codegain.com is new for me. I thought I must post my next article there as I liked the name ‘CodeGain’
Click here to read this article article
My intention for this article was to provide a kick start for the SharePoint developers to write a Custom Provider for their database. You should be able to:

Use [...]

Leave a Comment

Create SharePoint 3.0 Custom Properties

It is very simple. Just put [WebBrowsable(true), Personalizable(true)] above your property in code. (There are much more attributes – FYI).
Here is the sample source code:

public class testxyz : System.Web.UI.WebControls.WebParts.WebPart
{
private string _strHello = "blah";
public testxyz()
[...]

Leave a Comment

Microsoft Project Code Named “Velocity”

"Velocity" is a distributed in-memory application cache platform for developing scalable, high-performance applications. "Velocity" can be used to cache any common language runtime (CLR) object and provides access through simple APIs. The key aspects of "Velocity" are distributed cache performance, scalability, and availability.
Microsoft project code named "Velocity" provides a highly scalable in-memory application cache for [...]

Leave a Comment

SharePoint error: No SharePoint Site exists at the specified URL

Resolution:

Take project properties (right click - Solution Explorer –> Project Name)
Take Debug tab
Verify Start Action section. Most probably you may be having wrong URL for your SharePoint in Start browser with URL

VN:F [1.1.6_502]Rating: 5.0/5 (2 votes cast)

Leave a Comment

SharePoint error: The feature name WebPart1 already exists in SharePoint

The feature name WebPart1 already exists in SharePoint. You need to rename the feature before solution deployment can succeed
This is a common error when you (especially a beginner) try to ‘execute’ a SharePoint webpart from Visual Studio. Here is a fix explained.

If you do not see a pkg folder in your solution explorer then click [...]

Leave a Comment