asp.net-4.0

.NET 4.0 Beta 2 hosting providers

Are there any web hosting providers (not managed hardware) that provide accounts for ASP.NET 4.0 Beta 2? It's OK if there are no service guarantees with it. ...

Microsoft Chart Controls in Visual Studio 2010?

Is this possible? I installed them, but they don't appear. Do I have to import them or something? ...

Multithreading in .NET 4.0 and performance

I've been toying around with the Parallel library in .NET 4.0. Recently, I developed a custom ORM for some unusual read/write operations one of our large systems has to use. This allows me to decorate an object with attributes and have reflection figure out what columns it has to pull from the database, as well as what XML it has to outp...

Page.GetRoutUrl in a static method

Some background on what I'm doing I usually like to have my pages return the url needed to access it. So i will normally have a method like so public partial class ProductDetails : Page { public static string GetUrl(Guid productId) { return "fully qualified url"; } } on my other pages/controls that need to access ...

Upgrade to ASP.NET 4 framework

Now that Visual Studio 2010 RC is released I was wondering if anyone knows what pros/cons there are to upgrading my existing ASP.NET applications to target the .NET 4 framework? (Apart from waiting until the Final release which should be even more stable) ...

Why do you return the image generated by a Chart control, rather than use it in a view in ASP.NET MVC?

Why can't you use the Chart control directly in views? Why do you have to return the image generated? ...

Using ASP.Net 4.0 for new Dev projects

I am currently in the early stages of developing a couple web applications, I have not written any code yet as I am still just gathering requirements and scoping things out. I want to target ASP.Net 4.0 winforms as the platform for these apps but I want to make sure there are no glaring issues with this new version before I commit. I un...

Workflow Foundation 4 - DeclarativeServiceLibrary - Error while calling second ReceiveAndSendReply Sequence - VS2010

Hi, I have created a DeclarativeServiceLibrary using VS2010 beta 2, Please check this image of Sequential Service Following is the code used to call these two activities ` int? data = 123; ServiceReference1.ServiceClient client1 = new ServiceReference1.ServiceClient(); string result1 = client1.GetData(data); ...

Sharepoint 2007 and ASP.NET 4.0

Is it possible to create ASP.NET 4.0 "_layouts" pages in Sharepoint 2007 (WSS or MOSS)? ...

ASP.Net 4.0 on IIS6 vs IIS7

I am trying to convince my boss to upgrade a couple web app servers from Win 2003 to Win 2008 so I can utilize ASP.Net 4.0 on IIS7. I am also trying to get our SQL Server 2000 upgraded to 2008 so I can use Linq2SQL in VS2010 plus a bunch of other reasons. But the boss is experiencing sticker shock now that I have told him what it all c...

Who plans to go back to using Web Applications in ASP.NET 4.0?

So, it looks like Microsoft has gone back to pushing Web Application Projects* in ASP.NET 4.0. If you are like me, you converted to Website Projects in 2.0 and have never looked back. I recently spent some time trying to convert a Website Project to Web Application Project and was surprised at how tedious it was. So I am wondering what e...

Does anyone know the work arounds to use the new Chart Controls with ASP.NET 4.0 MVC?

It seems as though there is much to do in order to simply use the chart control using MVC 2 versus WebForms. I am guessing that now that you can combine WebForm with MVC 2 in ASP.NET 4.0 this will be less problematic, but I really want to know if someone has a list of the steps to leverage the chart controls on an MVC View. Surely if I...

ASP.NET 4.0 , SQL 2008 Web development and deployment Cloud or Shared Hosting?

Just to give you a fair idea, I am new to the web development / hosting world and planning to develop a Multilingual Social networking Web Applications in ASP.NET 4.0 , expected the content to deliver in many countries German, France, China, India and MiddleEast. My question is will Cloud Hosting provides a development environment? or sh...

New ASP.NET 4.0 Web routing rules based on domain country extension?

Consider multiple domains (with different country extensions) that go to one singe physical website. Depending on the country extension of the domain, I want to route to a specific subfolder while keeping the active domain! Examples: www.mydomain.com/we/about-us.aspx to www.mydomain.com/content/com/we/about-us.aspx www.mydomain.fr/we/...

ASP.NET 4.0 hosting

We have built an application on the ASP.NET 4.0 platform. We need to go live in the next two weeks and I want to find a host that will offer the RTM of .NET 4.0. Any ideas of any hosts that have plans to offer the newest version shortly after Monday's launch? I see a bunch with RC1 hosting, but I can't find any hard dates for offering...

Web application creation in IIS7 via MS.Web.Admin

I am attempting to create seperate workflow instances as applications in IIS7 using the Microsoft.Web.Administration dll. When it attempts to add the Application to the Site ApplicationsCollection I get a COM error: "Invalid application path\r\n" using (ServerManager manager = new ServerManager()) { var site ...

Optional route parameters in ASP.NET 4 RTM no longer work as before

I upgraded my project to ASP.NET 4 RTM with ASP.NET MVC 2.0 RTM today. I was previously using ASP.NET 3.5 with ASP.NET MVC 2.0 RTM. Some of my routes don't work suddenly and I don't know why. I'm not sure if something changed between 3.5 and 4.0 - or if this was a regression type issue in the 4.0 RTM. (I never previously tested my app ...

Will an ASP.NET MVC 2 app build with the .NET 4.0 RC and VS2010 RC run on a prod server with the .NET 4 RTM release?

I have an MVC2 app I developed with the VS2010 RC and the .NET 4.0 RC. My production server and my client's production server have .NET 4.0 RC. Can the RTM of .NET 4.0 on a server support an app developed with the RC technologies? What about the other way around? Can I use VS2010 RTM and deploy an app to production if the prod server i...

Error in ASP.NET MVC 2 View after Upgrading from ASP.NET 4.0 RC to RTM

In my View, I am trying to loop through a list in a LINQ object that as part of my View Model. This worked fine earlier today with the VS2010 RC and the .NET 4.0 RC. <% if (Model.User.RoleList.Count > 0 ) { %> <% foreach (var role in Model.User.RoleList) { %> <%: role.Name %><br /> <% } %> <% } else { %> <em>None</...

ASP.net 4.0 default.aspx problem on IIS6

I installed .net framework 4 on my windows 2003 enterprise x64, wrote simple asp.net 4.0 application (default.aspx page only). The application works great if request is to default.aspx, not to the root site: contoso.com/ - doesn't work (Get 404 error) contoso.com/default.aspx - works. Default.aspx is in list of default documents in II...