asp.net-webpages Questions

11

I'm running an ASP.NET Web Pages page that upon initial load pulls a list of items from a SQL server. This query runs in a second or so and loads the page within 2 seconds. The return is about a 10...
Seraphic asked 3/5, 2013 at 14:45

9

Solved

I get a MvcWebRazorHostFactory error trying to run my app, but it's not an MVC app at all. I have the following web packages installed via nuget: Microsoft ASP.NET Razor Microsoft ASP.NET Web API ...
Calgary asked 10/2, 2014 at 23:55

2

Solved

I kind of feel bad asking yet another Cannot Read Property 'length' of Undefined question, but no online (SE or otherwise) answers are in any way relating to my problem at hand. I have tried my be...
Halfassed asked 9/9, 2013 at 13:59

3

Solved

I am getting the following error after installing microsoft web helper: Conflicting versions of ASP.NET Web Pages detected: specified version is "1.0.0.0", but the version in bin is "2.0.0.0". T...
Igorot asked 15/12, 2012 at 14:2

5

Solved

I am trying to 'build' my MVC3 web app in VS2010 however keep getting the following error: Error 2 The type 'System.Web.Mvc.ModelClientValidationRule' exists in both 'c:\Program Files (x86)\Micros...
Dambro asked 14/12, 2011 at 21:37

2

So I'm trying to create a ASP.NET Web Site (Razor v2) website in Visual Studio 2012 but when running the site I get this error. Method 'get_IsBindingRedirectSupported' in type 'System.Web.WebPages...
Borowski asked 18/9, 2012 at 18:49

7

Solved

I just need to know if there's a way to change the message shown by the Asp:FileUpload when no file as been selected. Thanks.
Ganof asked 25/11, 2013 at 19:21

3

If I misuse or confuse the terms OpenID and OAuth, I apologize, I am still new to this whole decentralized login process. I have been trying for days now to get my site (built in WebMatrix) to rec...
Beaded asked 28/3, 2013 at 13:56

3

Solved

This error appears after updating ASP.NET Web Helpers Library today to version 2.0 which was apparently released today. I updated by mistake, however would like to resolve this now, if possible. ...
Nilla asked 5/6, 2012 at 11:57

7

Solved

When I open a solution containing an MVC3 project in Visual Studio 11 Beta, I see the following message: The Web project 'Landboss.Web' requires missing web components to run with Visual Stud...

1

Solved

Believe it or not I tried to look for the answer to this question with a simple Google Search but I didn't find anything (Googled with "WebMatrix custom error page", "WebMatrix how to make custom s...

8

Solved

Some of the img elements that I am dynamically building may (do) fail. For those cases, I have some code I got from here:Is there a way to programmatically determine that an image link is bad? name...
Sweettempered asked 18/7, 2013 at 2:3

3

Solved

I have the below function that I would like to be available to several .cshtml views in my asp.net web pages 2 application. How can I make this function available to any view in the application (as...
Indisposition asked 11/7, 2013 at 20:7

9

Solved

I get the following exception after installing ASP.NET MVC 4 Beta on a machine with ASP.NET MVC 3. System.InvalidCastException was unhandled by user code Message=[A]System.Web.WebPages.Razor.Co...
Habitation asked 22/2, 2012 at 21:38

3

Solved

I have reviewed possible answers here (for PHP, I think): http://www.lateralcode.com/store-array-database/ but I am unable to find a C#.net version of serialize/deserialize. Would this be done the...
Tephra asked 4/4, 2013 at 13:55

1

Solved

I've looked at a lot of resources, done a lot of research, and tried many "best-guesses" to access a single element at a time using WebMatrix with C#, web-pages, however nothing I am trying is gett...
Pig asked 9/4, 2013 at 13:46

2

Is there a way to change the scope/permission when using Microsoft.Web.WebPages.OAuth? The most logical place is when registering the client with OAuthWebSecurity.RegisterClient. I thought that the...
Juan asked 24/7, 2012 at 17:31

1

Solved

What is the difference between _PageStart.cshtml vs _AppStart.cshtml? Can I use them interchangeably?
Checkoff asked 13/1, 2012 at 4:37

2

Solved

I'm on the point of starting a medium scale web application and I'm considering developing using ASP.NET Razor syntax Web Pages framework (not MVC). But as I've seen many people consider "Web Pages...
Tollgate asked 20/6, 2011 at 20:23

2

Solved

Does anyone know how to disable the .cshtml extension completely from an ASP.NET Web Application? In essence I want to hijack the .cshtml extension and provide my own implementation based on a Raz...
Miguelmiguela asked 25/6, 2011 at 19:20

2

Solved

I'm trying to get my wildcard http handler to handle *.cshtml pages but the request never reaches my handler as it looks like it's being intercepted by WebPageHttpModule that I discovered exists vi...
Formicary asked 26/6, 2011 at 11:40

1

Solved

What is the difference between ASP.NET Web Forms and ASP.NET Web Pages? Here it says that Web Pages and Web Forms are different approaches.
Towage asked 27/5, 2011 at 10:7
1

© 2022 - 2024 — McMap. All rights reserved.