webmatrix Questions

12

Solved

How to import a namespace in Razor View Page?
Reliant asked 13/7, 2010 at 16:3

8

Solved

I am using webmatrix, razor syntax and cshtml file. I have an "edit" page for a database record which contains a select box(id="selStatus"). I am trying to set the "selected" value of the select ...
Winthorpe asked 16/4, 2011 at 17:29

2

Solved

I'm trying to stop the rest of a page loading based on some parameters; but am not sure of the correct syntax. @if(dayRes + dayTri == 2){<text>Sorry, etc</text> @Response.End} The ab...
Pinchbeck asked 24/2, 2011 at 22:37

5

Solved

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 ge...
Valve asked 8/7, 2011 at 17:50

1

I want to access the site from another machine, like 192.168.1.11:10369 I found a solution for it, that is: http://bendetat.com/access-iis-express-from-another-machine.html It's working wel...
Look asked 17/2, 2018 at 11:24

7

Solved

Sorry, this is probably a thick question, but how to I get HTML to display similar to using the tab button in Word? I want to display like this: header text header text Header text text in column...
Borst asked 16/10, 2012 at 20:30

4

Solved

I'm trying to install some .Net eCommerce projects on my local machine (windows Vista) with Webmatrix. Some of them ask for a Database administrator username and password, but I have no idea what t...
Lately asked 30/5, 2012 at 12:8

3

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 t...
Holle asked 5/3, 2014 at 7:10

2

Solved

I was hoping to be able to open .mdf file. I am using WebMatrix, I can view the queries there. I can read the schema too. But how can I read the file without using WebMatrix. Its SQL Server file no...
Regulus asked 18/8, 2013 at 21:55

4

Solved

I am getting this error when I try to launch my website using WebMatrix. I have a .cs file which makes a call var db = Database.Open("dbase");. I have a database in my project called "dbase". I h...
Chemise asked 3/3, 2012 at 15:12

9

How can I destroy a session (Session["Name"]) when the user clicks the logout button? I'm looking through the ASP.NET API Reference on MSDN and it doesn't seem to have much information. It seems r...
Ca asked 16/3, 2011 at 18:51

10

Solved

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 si...
Locoism asked 4/3, 2014 at 14:32

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

2

Solved

I have a View that typically gets query results from a WebMatrix Query (IEnumerable<dynamic> data type), and displays the results in a table: @model MySite.Models.Entity @foreach(var row in ...
Os asked 27/7, 2015 at 15:19

1

Solved

All my Razors views have this error: The pre-application start initialization method Start on type WebMatrix.WebData.PreApplicationStartCode threw an exception with the following error message: Th...
Virgina asked 1/4, 2014 at 4:48

11

I'm having a lot of issues with the templates of Visual Studio 2010 SP1 & ADO.NET Entity Framework 4.1 I noticed that other people had these problems, and asked similar questions, but I don't ...
Oestrone asked 17/4, 2011 at 21:5

4

Solved

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 ...
Hutchison asked 18/1, 2013 at 5:52

2

I'm using Visual Studio 2010 SP1, ASP.NET Webforms, Framework .NET 3.5 and IIS Express (also called WebMatrix). I get the following compilation error in Visual Studio with my WebSite : Theme 'MyS...
Annam asked 26/3, 2011 at 19:23

2

Solved

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 for...
Titleholder asked 6/8, 2013 at 14:16

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...

4

I am using SimpleMembership (http://blog.osbornm.com/archive/2010/07/21/using-simplemembership-with-asp.net-webpages.aspx) but I am unable to have place my custom user table in a schema other than ...
Sybilsybila asked 5/6, 2011 at 16:14

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

5

Solved

List of keyboard shortcuts supported by Microsoft webmatrix.
Hrvatska asked 2/3, 2011 at 21:56

2

Solved

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; s...

© 2022 - 2024 — McMap. All rights reserved.