Caching best practices
Hi, everyone. Can someone share some links on articles about back end caching and fragment caching in ASP MVC applications, best cache architectures, etc. Any useful advices also will be very appreciated. ...
Hi, everyone. Can someone share some links on articles about back end caching and fragment caching in ASP MVC applications, best cache architectures, etc. Any useful advices also will be very appreciated. ...
Google announced the Analytics Data Export API some days ago, thereby making it much easier to get analytics data for a site. The API debuted with Java and Javascript clients, but no direct .Net support (other than going straight for the XML). It seems the API is similar to the other Google Data APIs though, and there's a .Net client for...
This is a shoutout as I've been spending the last few days learning about .NET and the process has left me a little confused rather than enlightened. Just as a background info, I have knowledge of PHP (have even used CakePHP to create a whole app rather easily) and Rails. I am wondering if I should pursue ASP.NET or should stick to l...
I don't seem to be able to find any authoritative, up-to-date (i.e. for 1.0 final) documentation for the capabilities of the standard model-binder in ASP.NET MVC, particularly with respect to binding complex objects involving collections (and the naming requirements this places on the HTML form) I have found a blog post from Phil Haack ...
Hi, i am trying to deploy simple asp.net mvc frameworkd application in may shared hosting and i get erro like this: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change t...
I'm not sure if this question is appropriate for SO, but I'm sure a few people here have been through it: I'm trying to follow the MVC tutorials on the ASP.NET website and there's a point at which it has you add an ADO.NET entity to the project, but for some reason, it doesn't appear on the dialog for adding a new item. I've got SP1 for...
Previously, I was passing information to a Silverlight control inside of the Page_Load method. i.e. protected void Page_Load(object sender, EventArgs e) { MainContainer.InitParameters = "info=" + CurrentUserID.ToString(); } In MVC, without the concept of a code-behind, I've passed the user ID as part of the model, but the followin...
I'm going to apologize ahead of time. I'm new to ASP.NET and MVC and don't yet grok the internals and flow of operations. I'm trying to get the ASP.NET MVC Membershp Starter Kit integrated into a site I'm developing to get OpenID support. I've worked through several issues, but I'm stumped at where to start looking for a null reference ...
When I use: new AjaxOptions { UpdateTargetId = "VoteCount" + indx, OnSuccess = "AnimateVoteMessage" } everything works fine...but I am trying to animate items in a list, with automatically assigned ID's. Since I want each of these to be addressable from my javascript, I believe I need to pass a parameter to my javascript. But when I ...
Hi, I have a paging controller with a method which calls RouteTable.Routes.GetVirtualPath(this.viewContext.RequestContext, valueDictionary) I am trying to test this method using Rhino mocks and I'm unsure how to mock GetVirtualPath to return a route other than null. I am mocking the RequestContext but I am unsure which methods/prop...
Now that ASP.NET MVC has had its official release, should I be looking into it for my team? We're quite a small team (6 developers), developing mainly in-house applications for administrative teams. Any, and all, advice is appreciated. ...
Hi I have played with MVC in CakePHP and I like the pattern but what are the features and benefits in asp .net and why should I change to MVC instead of web forms? Any advice welcome. Thanks ...
I'm working with the NerdDinner application trying to teach myself ASP.NET MVC. However, I have stumbled upon a problem with globalization, where my server presents floating point numbers with a comma as the decimal separator, but Virtual Earth map requires them with dots, which causes some problems. I have already solved the issue with...
Is it possible to have multiple Html.ValidationSummary's in a single .Net MVC page? I have a create user and a login form on the same page and would like to have to summaries ...
In an attempt to have several sites with one central set of views I created an external library with my views. They are marked as content and copy always. This views library is referenced in my websites and thus with compiling get a "Views" folder in their bin folder. Then I made a quick custom ViewEngine like this: public class CommonV...
Does anyone know how to get a html content, convert it to pdf and save it to database? I've tried so many ways, but nothing seems to work. In some articles, it's written to use HTMLParse, in others HTMLWorker... sometimes throws an error "document has no pages"... sometimes, it just throws an exception but it didn't specify the error......
I have a URL: Shipment/Search/{searchType}/{searchValue} and a controller action: // ShipmentSearchType is an enum ... PartNumber, CustomerOrder, etc... ActionResult Search(ShipmentSearchType searchType, string searchValue) So this means I can type in pretty urls like: Shipment/Search/PartNumber/Widget-01 And get a list of all the...
Hi When i set my project to start app using Visual Studio Development server (Cassini:Port) my JQuery posts properly to the following URL "SomeController/SomeMethod". When i use localhost to run with the following URLS, it does not work "http://localhost/Store/SomeController/SomeMethod" or "SomeController/SomeMethod". Any one facing...
I'm new to nHibernate, and trying to get my head around the proper way to update detached objects from a web application form POST. (We're using ASP.NET MVC) The object I'm trying to update contains (among other things) an IList of child objects, mapped something like this: We have arranged our MVC edit view form so t...
When using Team Build for Continuous Integration on a web application project the build fails with "/temp/global.asax(1): error ASPPARSE: Could not load type 'MVC'). The csproj file for the project contains an AfterBuild Target in order to report issues with views when they fail after the build (MVC). The solution builds using MSBuil...