Questions tagged [asp.net-mvc]

The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern.

The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern. Based on ASP.NET, it allows software developers to build a Web application as a composition of three roles: Model, View and Controller.

A model represents the state of a particular aspect of the application. Frequently, a model maps to a database table with the entries in the table representing the state of the application. A controller handles interactions and updates the model to reflect a change in state of the application, and then passes information to the view. A view accepts necessary information from the controller and renders a user interface to display that.

The latest stable version - MVC 3 - is available from the Microsoft Download Center website.

Latest announcements from Microsoft usually come from Scott Guthrie's blog. Other notable blogs relating to MVC include Phil Haack and Scott Hanselman.

226 questions
1
vote
2 answers

Cannot connect to Azure Database

I'm having difficulties with connecting to my deployed database on Azure. I'm new to Azure, currently trial license. I have a web application created in ASP.NETCore C# with Visual Studio 2015 (still in debug phase). It's already deployed and…
miki9009
  • 21
  • 4
1
vote
1 answer

IIS WordPress site on alternative port and rewrite rules

I had 2 websites running on a server with 2 different hostnames. Lets call them 1 - hostname1.host.com 2 - hostname2.host.com hostname1.host.com was bound to a WordPress site and hostname2.host.com was bound to a ASP.NET MVC site. Additionally,…
Carel
  • 131
  • 7
1
vote
0 answers

High percentage of ajax errors

My company's website uses jQuery ajax to submit forms. A high percentage (5% - 10%) are failing, causing the ajax's error handler to run in the client's browser. The error handler looks like this: $.ajaxSetup({ type: 'post', error: function…
wezten
  • 113
  • 5
1
vote
0 answers

IIS 8.5, Win Srvr 2012 R2 - CustomError mode=Off does not work, Blank page

We have an MVC ASP.net app on IIS 8.5, Win Server 2012 R2. When we set web.config to: The site shows completely blank when there's an error. Searching around I found that perhaps it…
user1013388
  • 111
  • 2
1
vote
1 answer

How do I use my ip address to connect to my iis 7 server?

I have windows 7 and I want to host a site for testing purposes. Now I want to set it up so I can type in my ip address in and it will load up my site. This way I can go to any computer type in my ip and it will load it up. Now I been able to set up…
chobo2
  • 461
  • 1
  • 10
  • 18
1
vote
1 answer

IIS Rewrite using IIS Manager

Hi there I am attempted to do a proper IIS rewrite utilizing the IIS manager credentials my hosting provider has given me. I have no experience with this and the articles I have read online so far have not been too helpful. Here is the scenario: I…
Anders
  • 163
  • 2
  • 7
1
vote
1 answer

Send IIS http error code without sending stacktrace

I have an ASP.NET based API that needs to send http error codes from the server to the client as they occur. I do not wish to send the entire detailed stock error message containing the stacktrace to the user though, a simple "An error occurred"…
bjelleklang
  • 111
  • 3
1
vote
1 answer

How to enable incoming and outgoing world wide web traffic in IIS

Goal: Access website hosted on a remote cloud's IIS via web-browser. Case: I wanted to open my IIS server (Windows server 2012 virtual machine hosted on Google compute engine) so that the website running locally on it becomes accessible via WWW. As…
1
vote
0 answers

IIS 8.5 Instant 404.0 error on MVC site

I have an MVC site which I have published to my server. It has two different roles for internal and external users. Externally (using www.oursite.com) the site works fine. when we try to access it internally (http://SERVERNAME/application) it…
Jake
  • 205
  • 2
  • 9
1
vote
1 answer

Windows Authentification with IIS and domain groups

We have a web application (ASP.NET MVC) installed on IIS for one of our clients with Windows Authentication enabled. The authentication is working perfectly but the problem is at the authorization level. The authorization type is role-based…
1
vote
5 answers

"Green" Hosting Solution for ASP.NET

I have a client that wants to host their site with a "green" hosting service. I am building the site with ASP.NET MVC and SqlExpress. I've looked around and found a few wind-power solutions, etc, but they all support PHP/MySql or other non-M$…
spot
1
vote
1 answer

IIS 8.5 cold start

I have a small ASP.NET MVC 5 web application hosted on VDS. VDS has following config: 2.6 Gz CPU, 1 Gb RAM, 20 GB SSD, Windows Server 2012 R2, IIS 8.5. There are maximum 5 concurrent users who can access this site. Everything is working fast, but…
ranquild
  • 113
  • 6
1
vote
2 answers

Troubleshooting web server continuous load issue

I am a beginner at managing a web server. And I am trying to learn how to troubleshoot an issue in Windows Server 2008 R2 running IIS 7.5 with a .NET 4.0 MVC website. A website I manage has been running perfectly on a GoDaddy shared hosting plan for…
1
vote
1 answer

Error connecting to sql server database when running IIS from DMZ

I've been working on this for a few days now. One of our clients has a 3 tier server plan - an IIS server, an application server (where the Asp.Net MVC3 application is located) and the db server. All servers are Windows Server 2012 R2. Application…
user1666620
  • 121
  • 1
  • 6
1
vote
2 answers

IIS 7 "bad request"

Trying to access a url: server/Help/Upload/4 works fine, unfortunately we have to add a &iframe; on the end of this URL for it to be displayed in fancybox. The URL with &iframe; on the end [server/Help/Upload/4/&iframe;] causes a IIS bad…
Tom Harvey
  • 21
  • 1
  • 3