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
-1
votes
3 answers

implement success handler with more parameters

Continuing from this post of mine passing id to ajax call There is still something I would like to understand more. My problem is like this I have 2 pages (default.cshtml+click.cshtml) In default.cshtml, I have a js code to initialize a div region…
-2
votes
1 answer

unlock user is not working in Webmatrix WebSecurity.IsAccountLockedOut Method

I am new to web matrix and web security concept. I used the IsAccountLockedOut(String, Int32, Int32) method to check whether the specified membership account is temporarily locked because of too many failed password attempts in the specified number…
hemachandran
  • 23
  • 1
  • 8
-2
votes
3 answers

Get a value from Javascript

I want to get the value that I entered in the prompt, and save it in a variable to use it to update a DB later .. I try this but is does not work !! @{ var fileName = ""; var db = Database.Open( "GP" ); var sqlupdate = "Update rc_Files…
-2
votes
1 answer

Always with server 500 error

I have tried out displaying a simple PHP page with Webmatrix 2 (PHP 5.3 and 5.4), I run into the Internal server error 500. I also have XAMPP installed (PHP 5.3) and I put my cakePHP application in htdocs folder, the rest of settings is left…
-2
votes
2 answers

how to access rows and columns of a select query

var r=db.execute("query") Hi! I wanna access the columns (and rows) obtained from this query (like q[0].column1). But when I store it in a var it is not possible. What kind of datatype or technique can I use? Is there a difference between single…
coder
  • 1,980
  • 3
  • 21
  • 32
-2
votes
1 answer

How can I reference data from an AppState variable?

The problem is that I can't find a way to test anything stored in AppState["variableName"] (or App.variableName or HttpContext.Current.Application["variableName"], etc.) inside an if condition. (It only ever sees it as an object, even though I can…
VoidKing
  • 6,282
  • 9
  • 49
  • 81
-3
votes
1 answer

Webmatrix Server Error in '/' Application. Incorrect syntax

Working on adding something to a site that someone else built in Webmatrix. When I alter the SQL Query it throws a syntax error, even though it worked fine before. I've been beating my head against the wall with this error. All I did was add: WHERE…
MHardaway
  • 11
  • 1
1 2 3
81
82