Questions tagged [webmatrix]

Microsoft WebMatrix consists of a basic IDE bundled with a simple but powerful SQL database and a lightweight web server. WebMatrix is no longer recommended as an integrated development environment for ASP.NET Web Pages. Use Visual Studio or Visual Studio Code.

Microsoft WebMatrix is a basic development environment for creating websites. It's bundled with a simple but powerful SQL server (SQL Server Compact) and a lightweight web server (IIS Developer Express).

Languages supported include C#, VB.NET, and PHP. The native view engine uses Razor syntax optimized for HTML development. Although the full ASP.NET stack is available, developers can choose "Web Pages" which offer simplified web development.

It reached end of life in November 2017, so shouldn't be used any more.

Also see: , , ,

1222 questions
11
votes
10 answers

Visual Studio 2013 sp1 hangs when trying to debug ASP.NET web site?

Recently, Visual Studio 2013 started hanging again when trying to debug/trace an ASP.NET web site. The site was created with WebMatrix 3 but I don't think that is relevant. VS2013 opens the web site Solution. It takes a really long time to load…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
11
votes
2 answers

SimpleMemership CreateUserAndAccount Customization

I am trying to add a new property to the UserProfile class in my model public class UserProfile { [Key] [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int UserId { get; set; } public string UserName { get; set;…
11
votes
1 answer

Launching Visual Studio from WebMatrix 2 opens wrong version

I'm using Microsoft WebMatrix 2 to work on a simple ASP.NET WebPages site. When you are in the Files view, there is a Visual Studio Launch button that should open up the site Solution in Visual Studio 2012. On my machine I also have Visual Studio…
10
votes
2 answers

500 Error With PHP and Webmatrix Shows "Friendly" Error Page

I am working on a PHP application using IIS Express/Web Matrix and it is giving me the "friendly" error page instead of the actual error. How do I configure my site or IIS express to give me the actual error?
Dean
  • 1,550
  • 2
  • 15
  • 22
10
votes
3 answers

should I use WebMatrix to build a real-world website?

I have gone through hundreds of articles and blog posts that saying WebMatrix is just for beginners and such. my question is, why shouldn't I use WebMatrix to create a real-world working website, like a light-weight Q&A website? we can create…
kayvan
  • 115
  • 2
  • 7
10
votes
5 answers

webmatrix list of keyboard shortcuts

List of keyboard shortcuts supported by Microsoft webmatrix.
Henrik K
  • 1,051
  • 1
  • 15
  • 34
10
votes
3 answers

IIS Express (WebMatrix) open for outside connections

I've already enabled firewall rules for IIS Express (HTTP Traffic In) and IIS Express (HTTPS Traffic In) on ports 80 and 2012 (this one is used in WebMatrix), but I can't connect to the server from my LAN. WebMatrix is running on a virtual Windows 7…
zigomir
  • 985
  • 2
  • 15
  • 30
10
votes
4 answers

Encountering error 'The Provider encountered an unknown error' while trying WebSecurity.CreateAccount in asp.net webpage

I am new to asp.net. I am trying to create a simple login and register webpage with WebMatrix. But I get the following error when I try to create an account: The Provider encountered an unknown error. Description: An unhandled exception occurred…
shruthi
  • 327
  • 3
  • 5
  • 13
9
votes
5 answers

The contextual keyword 'var' may only appear within a local variable declaration issues

I know what this means, and I have searched Google, and MSDN. But, how else am I going to get around this? I have a function in my razor code inside the App_Code folder (using WebMatrix), and I get info from the database, do some calculations, then…
bendr
  • 2,415
  • 6
  • 19
  • 24
9
votes
3 answers

"An operation is not legal in the current state" error when trying to launch ASP.NET project in VS2013?

I have an ASP.NET web site created with WebMatrix 3. I do have the option in VS2013 checked to use the 64-bit version of IIS Express since I am running on 64-bit Windows 8.1. When I try to launch the project I get the error "An operation is not…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
9
votes
2 answers

"Remember Me" with asp.net web pages

I realize that this question may have been asked before, but I can't find anything that matches my situation exactly. I created a website using the WebMail helper in ASP.Net web pages (not web forms) and WebMatrix. Users are required to login to the…
CarolK
  • 95
  • 1
  • 1
  • 7
8
votes
5 answers

Add a column to an IEnumerable in c#

I don't think I can actually add a field (column) to an existing IEnumerable. But what I want is a new IEnumerable that is derived from an existing IEnumerable with a calculated field. The pseudocode in WebMatrix using Web Pages looks like: var db…
Knox
  • 2,909
  • 11
  • 37
  • 65
8
votes
3 answers

How to debug and/or trace execution flow in WebMatrix?

I am just getting into web development (from a Windows application development background), and WebMatrix seems like a good place to start, due to it's simplicity, and also because it looks like a useful stepping stone towards full ASP.NET MVC…
Neville Cook
  • 1,472
  • 14
  • 17
8
votes
1 answer

How do you reference third party assemblies in WebMatrix?

I have a DLL from a vendor, and I'd like to use it in my .cshtml files. I can't see where you add references to assemblies in Webmatrix though...or am I missing the point completely?
Webjedi
  • 4,677
  • 7
  • 42
  • 59
8
votes
2 answers

Is there a Visual Studio color scheme similar to Webmatrix?

Webmatrix has a clean color scheme. Is there a similar one for Visual Studio?
Abdulsattar Mohammed
  • 10,154
  • 13
  • 52
  • 66
1
2
3
81 82