ASP.NET MVC Invitation sysyem
I need to support invitation in my ASP.NET MVC based site, so the members can invite friends to join. Does any ready component exist that can do this for me instead of starting from scratch? ...
I need to support invitation in my ASP.NET MVC based site, so the members can invite friends to join. Does any ready component exist that can do this for me instead of starting from scratch? ...
Hi, This is a really strange one. I am trying to add a cache value to my css stylesheet references in order to invalidate the http header caching I have set. I have the following code: <link href="/css/Continuity2/layout.css?cache=<%=Global.CACHE_KEY %>" rel="stylesheet" type="text/css" /> The above is rendered as follows and does ...
hello friends, i have pretty annoying error that can;t figure out. i have controller action that generates images. everything works ok on my development laptop win 7 pro iis 7.5. but when i deploy it to win 2008 iis 7 images are not generated and i get 404 error. can't imaging what wrong thanks ...
Hello, I'm creating a web based questionnaire in MVC where the questions are generated from a CSV file. The format is one question per page. I don't want to have to parse the CSV file every time the user goes to the next question but parse it once at the beginning of the questionnaire. At the moment the CSV file is parsed in the Controll...
Is there a lot of similarities? I can webforms ASP.NET and some CodeIgniter but haven't much grokked with the asp.net mvc. Have they a lot of similarities? ...
Ok, I'll probably be down-voted on this question but my heads not working and I can't come up with a neat solution. Basically, I need to hold a series of dropdownlists in a database or xml file which will eventually be displayed and used on a page. Problem is I also need them to cascade and hold state after a form submission in MVC. Ha...
If you see at the top of an ASP.NET MVC view: <% var dto = (MyDto)Model; %> ...is something wrong? It doesn't feel right to me... ...
Hi, I have VS2008 developing a MVC app 1.0. I have added a .js file to app. But when I make changes and start debugging the app the javascript is using previous version and not my additional changes. In the debugger the js file has the suffix [dynamic] after the name of the file. What is causing this? I have asked similar question ...
If I have the following controller action... public void DoSomething() { } will the framework actually convert it to this... public EmptyResult DoSomething() { return new EmptyResult(); } ...
Can anyone tell me how can I submit values to Controller using ActionLink and POST method? I don't want to use buttons. I guess it has something with jquery. Thank you! ...
I'm starting a new project which must have a working prototype within 10 days. The project should be cutting edge and I'd love to use latest tech, especially EFv4. But, also I like new MVC2 features like ForEdit and easier validation implementation (for Areas I don't care). MVC2 RC is out for VS2008 and works on VS10Beta 2 too, but "too...
Hi! I'm trying to run a little ASP.NET project in a subfolder of my hosting. My domain is www.gorangligorin.com, but i want to run my app in www.gorangligorin.com/testmvc. ASP.NET MVC runs with no problems on the top level, but not in subfolders. The server says this (line 58 is colored red): Line 56: ASP.NET to identify a...
Are there any similar frameworks like Sinatra, Ramaze etc in .NET? I'm in theory after a framework that let's me create an entire webapp with just one classfile (conceptually) like Sinatra. I'm going to use it for something work-internal, where ASP.NET MVC is too "big" (and I get confused by it's usage) and I have WebForms up to my ear...
Here is the background. I had an .NET MVC v1.0 project that I was trying to secure it by using Windows authentication mode. So I set the web.config to: <authentication mode="Windows" /> And then went into my controller and did the following: [Authorize(Roles="IT")] public class LicenseController : Controller In AD we have a group c...
Hi all, So I've got a partial in my MVC project that creates a JSON array. I want to move this chuck of code from the top of the html page body to the bottom with the rest of the JS for speed reasons. That is to say I want to store the JSON created as a string in C# and access it on the Site.Master. What's the best option here? Thank...
Our current project at work is a new MVC web site that will use a WCF service primarily to access a 3rd party billing system via a web service as well as a small SQL database for user personalization. The WCF service uses nHibernate for the SQL database. We'd like to implement some sort of web farm for load balancing as well as failove...
Hello, I'm trying to configure ASP.NET MVC 2 RC and Spring .NET 1.3 to use FluentNHibernate. I've managed to get FluentNHibernate running inside console application. At moment ASP.NET MVC 2 RC and Spring .NET are working fine for me, but I'm having trouble configuring FluentHibernate. Before asking this question I have Googled a lot...
Hey folks, I have a simple thing going here: two divs and two calls to load partials (controller actions with PartialView as results). I am dealing with two controller actions: Index and ItemDetail. The jQuery load works in the view returned by the Index action, but not on ItemDetail. These items are in the same controller and you ca...
Hi, i created the following ActionFilterAttribute to check if a user is granted access to a page. I also created two custom Exceptions to handle different scenarios: NotLoggedInException and InsufficientPrivilegeException. ActionFilterAttribute Public Class ValidateAuthentication : Inherits ActionFilterAttribute Private _page As B...
I have a viewmodel (lets call it HouseVM) but it contains another viewmodel inside of it (KitchenVM). I've already created a custom model binder for KitchenVM. Now I'm creating the HouseVM modelbinder. How can I access the model binding I've already done for KitchenVM within the HouseVM model binder? NOTE: I have seen this post ...