Questions tagged [webmatrix-2]

Microsoft WebMatrix 2 is a basic development envirnoment for creating websites. It's bundled with a simple but powerful SQL server and a lightweight web server. Languages supported include VB, C# and even PHP. The native view engine uses the Razor syntax.

Microsoft WebMatrix 2 is a basic development envirnoment for creating websites. It's bundled with a simple but powerful SQL server and a lightweight web server. Languages supported include VB, C# and even PHP. The native view engine uses the Razor syntax.

104 questions
1
vote
1 answer

How to populate SQL Server Compact/SDF tables from a text file in an ASP.NET WebPages site?

I've created a database in my asp.net web site (using WebMatrix). The table contents will be static - the user will never change them or add records. The table contents live right now in a text file, which I want to loop through to populate the…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
vote
1 answer

Generate pdf on the fly and email with webmatrix

I have a web application which at the moment generates certificates using a template. Since I original wrote it in php, I used the str_replace built in function to replace values in my template with values from the query. Now I have changed to…
Sithelo Ngwenya
  • 501
  • 2
  • 10
  • 28
1
vote
1 answer

Validation is not working in Webmatrix 2

My validation is not working. I dont know what i am missing, i read from here , @{ Validation.Add("number", Validator.Integer("Must be integer")); if(IsPost) { if(Validation.IsValid()) {
Number Submitted!
barikatul
  • 171
  • 2
  • 13
1
vote
1 answer

Nesting a @ foreach in Webmatrix 2

I'm a tad rusty here so bear with me. I'm trying to get my list of items within their groups like so.

Category Heading 1

  • Item list 1
  • Item list 2

Category Heading 2

NickP
  • 357
  • 1
  • 7
  • 18
1
vote
1 answer

Cannot edit or udate content with TinyMCE in Webmatrix2

If anyone can help me that would be great. I'm trying to submit any changes without getting the... "A potentially dangerous Request.Form value was detected from the client. I'm using tinyMCE with my project and if I enter any content that has any…
NickP
  • 357
  • 1
  • 7
  • 18
1
vote
1 answer

adding a dropdown/select with multiple file upload using WebMatrix

I'm hoping someone can help with adding a select field in WebMatrix2. I want to be able to add folders inside App_data > UploadedFiles > folderA, foldeB etc that populates the select field with folderA, folderB and so forth. I have followed the…
NickP
  • 357
  • 1
  • 7
  • 18
1
vote
1 answer

Database error on installing Wordpress on Webmatrix

I am completely new to CMS and Word Press, though I have heard of it a lot. I recently downloaded and installed Webmatrix2 and there, in the App Gallery, I clicked Wordpress to install Wordpress. It asked for a name and then checked if I have Mysql…
Samarth Agarwal
  • 2,044
  • 8
  • 39
  • 79
1
vote
1 answer

Displaying an error message for System.Web.HttpException: Maximum request length exceeded in WebMatrix

I have tried to catch my HttpExceptions using a try catch block in my *_PageStart.cshtml* file using this site as a reference but that didn't seem to work. Does anyone else have a solution for setting a max filesize error message? I do not wish to…
mhcodner
  • 553
  • 1
  • 5
  • 20
1
vote
2 answers

Is it possible to debug class file or razor file in app_code inside visual studio against iis express?

Have an interesting situation. Working with umbraco website and debugging it inside Visual Studio. Just added a .cs file to the app_code folder within the project structure. Wanted to test adding a class to the app_code folder for flexibility, so…
maguy
  • 1,599
  • 1
  • 15
  • 26
1
vote
2 answers

Changing Webmatrix IDE color theme

I've started working with webmatrix, and I have to admit it works really well. But the customization is not very intuitive. I've managed to change the code editor color theme to dark, but I can't find a way to change the color theme for the whole…
thedp
  • 8,350
  • 16
  • 53
  • 95
1
vote
1 answer

Cannot see Content Type in Orchard

I am running Orchard 1.6 and have the following problem when setting up a Site of either template Blog or Core. I go to the dashboard and go to the Content menu item on the left. There is no Content Type menu item only Content. All training…
1
vote
0 answers

How to upgrade Nuget Package Manager on WebMatrix 2

I was trying to install a package on WebMatrix but got an error that says I must upgrade my Nuget Package Manager, and the message gave me a link to visit. However the link does not work, and I failed after trying many times to upgrade the Nuget…
andy
  • 85
  • 2
  • 10
1
vote
2 answers

Friendly 'From' Name with asp.net Webmail helper

I am using the webmail helper in my ASP.NET razor webpages program. I am able to send emails perfectly. my question: Does the WebMail helper allow me to use a "Friendly" From name instead of only: noreply@mycompany.com? for example: Webmail.From =…
Arvin
  • 115
  • 6
1
vote
1 answer

After WEbmatrix installation both VS2012 and Webmatrix is not working

I think this is something that you have come across. This has happened to me twice. I have installed VS 2012 which installs IIS 8 automatically on my machine. Then when I installed Webmatrix it installs IIS 7.5 and any of the programs are not…
diyoda_
  • 5,274
  • 8
  • 57
  • 89
1
vote
0 answers

Display Roles in nav bar of Webmatrix 2.0 app

I have a WebMatrix 2.0 app where I would like to have the user's Roles inside the navigation area of the _SiteLayout.cshtml page. As an example of what I did elsewhere for deleting Roles, I have this: @{ PageData["Title"] = "Agma App: Users and…
JJW
  • 211
  • 3
  • 9