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
1 answer

How to move my local WordPress site (on my PC - webmatrix) to live?

I am new so please forgive me if I am not posting the question correctly. I installed wordpress with webmatrix. I created a new wordpress install and now I am ready to go live. I have read a few posts but I am still lost. I am using go daddy…
Carrie
  • 1
  • 1
-1
votes
2 answers

Tracing a NullReferenceException

This is for a simple web UI. A form that allows the user to create a new marker. It worked with Validation yesterday, but appears to have stopped today. It now throws a NullReferenceException at a certain point. Commenting out the reference…
Hecatonchires
  • 1,009
  • 4
  • 13
  • 42
-1
votes
1 answer

Why webmatrix create mvcforum site as website and not web application

I created web app of mvcforum with webmatrix and now when i create again its website and not soloution project how i can create web soloution project of mvcforum with webmatrix?
gal
  • 49
  • 4
-1
votes
2 answers

How can i fetch all images associated by category from database

Hi i have a table in database named images. I want to fetch image_path from this table as shown below by matching the Category to it. Ex: if i select Web Development category it should fetch image_path related with that category. I am working on…
Radhe Sham
  • 141
  • 10
-1
votes
1 answer

How to change port number for IIS

I am using Web Matrix 3 for practicing ASP.NET but I cant run any Web Page because of an error. When I run any page I got this message Port '44300' is already being used by process 'IIS Express' (process ID '820'). Recommendations: 1. Try…
Syed Galib
  • 88
  • 9
-1
votes
1 answer

How to use a TextBox to search for a record in a MS Access file and display the results?

I am using Microsoft ASP.NET web matrix I have data table called result in MS Access. The name of access file is "roll number". The table consists of following columns: Roll number, name, subject 1, subject 2, subject 3, subject 4, subject 5, total…
-1
votes
1 answer

WebMatrix- project copied from another computer- relative paths do not work anymore

I am trying to open WebMatrix project created on another computer. Problem is that ~/ relative paths are not recognized anymore. I believe it is a problem with IIS Express settings but I do not know how to solve it. Any help? Thank you!
Jacek Wojcik
  • 1,223
  • 2
  • 19
  • 33
-1
votes
1 answer

Should I include file extensions in my webpages url paths?

I've been trying to do some research for whether or not I should include file extensions in my url paths in my website (and whether or not it is detrimental to use relative urls). Among some of the sites I have visited for this research are listed…
VoidKing
  • 6,282
  • 9
  • 49
  • 81
-1
votes
1 answer

Filling Datatables with MSSQL data

I am really struggling to populate a datatable with an MSSQL database (It is managed in SQL Server 2012 Express). I've tried several scripts from their site (Their server side PHP with ODBC script); however, none have worked. I stumbled across a…
Chaos
  • 81
  • 2
  • 9
-1
votes
1 answer

Why is my image not displaying in my web page?

I modified the _SiteLayout.cshtml file in my WebMatrix project so that it contains this line:

your logo here

...but the image is not…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
-1
votes
1 answer

How Can i allow users belongs to role only to access files in folder?

I have a website that Contains pdf files stored in folder on server and i need to set access to this files in folder only for users that logged in and belong to role i choose! thanks for helping :) :) Explain the situation: name of folder is…
Hassan Juniedi
  • 403
  • 5
  • 14
-1
votes
1 answer

Rename a file when clicking at a hyperlink to download a file using WebMatrix

I'm using WebMatrix. I uploaded a abc.doc file to a folder. A hyperlink is created to download the file. Example: . When I click on the link, the file will be downloaded with name abc.doc. How can I rename…
-1
votes
3 answers

Check if a single value in List in C#

How to check a single value is in a List. My List contains few random numbers: 13, 55, 34, 122, 322, 2132, 4345, 3000. I want to have a bool check the list if it contains int 4 or any other number. List can have large numbers in three or four…
Nasir Raza
  • 11
  • 1
-1
votes
1 answer

How can I obtain a youtube video title from a known id for a webmatrix site?

I would like to retrieve the title of a video using the YouTube atom feed here: http://gdata.youtube.com/feeds/api/videos/uRTXEjjrOko I would then like to add this title to my database. How would I do that?
mhcodner
  • 553
  • 1
  • 5
  • 20
-1
votes
1 answer

How do I call a class that is inside the App_Code folder (AJAX)

I am posting some things to the database via AJAX and the C# code in the App_Code folder in my ASP.NET WebPages website is what will be doing this. My question is, what do I use as the file path for the ajax part? xmlhttp.open("POST",…
Arrow
  • 2,784
  • 8
  • 38
  • 61
1 2 3
81
82