Search

You searched for the word(s): userid:770464

Matching Posts

  • Re: image control

    I'm having a little trouble understanding what you are asking for. Is this related to ASP.NET MVC framework? It doesn't look like it is. Anyway, here is how I understand the question: You have a page that renders a gif (the above code.) Going to this page in the browser shows an image and nothing else. You are asking how to display the image on another page. Assuming the above, the easiest thing I can think of is to add an image tag to your html (something like <img src="Default2
    Posted to ASP.NET MVC (Forum) by DavidHogue on 1/9/2008
  • Re: Install issue?

    C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets is a file from Visual Studio 2008. Check if the file is there and if it is open it with notepad and see if it looks ok. Maybe Visual Studio 2008 is not installed? Maybe the file got corrupted or overwritten? If so, you could try copying the file from another machine with 2008 installed or reinstall Visual Studio. You could also try this: open your .csproj file with notepad and look for a line like
    Posted to ASP.NET MVC (Forum) by DavidHogue on 12/18/2007
  • Re: Security in asp.net MVC application

    I just tried the <location>, and it kind of works, but I wouldn't use it. I think the PrincipalPermission attribute (or just using some code like Mike343 suggested) will be the way to go with this. I tried it with the default app that is generated that has a Home controller with Index and About actions. When path="Home" it does block /Home/anything, but you can still see / which is the same as /Home/Index. Also setting path=Home/About did not stop me from going to /Home/About
    Posted to ASP.NET MVC (Forum) by DavidHogue on 12/10/2007
  • Re: Security in asp.net MVC application

    I haven't tried yet, but I sould assume the <location> and <authorization> tags in the web.config would do it. Something like this: <location path="SomeController/SomeAction"> <system.web> <authorization> <allow users="SomeUser" /> <deny users="*" /> </authorization> </system.web> </location> Once I get the CTP installed I'll try it and see what happens.
    Posted to ASP.NET MVC (Forum) by DavidHogue on 12/10/2007
Page 1 of 1 (4 items)