r/ASPNET • u/davbis93 • Dec 06 '11
r/ASPNET • u/mitzman • Apr 01 '13
MVC3, IE, and cookies having issues
So I have a website I built in MVC3 (with vb.net) and when users login, besides the forms auth cookie that is set, I set my own cookie with some non-secure information. The cookie might contain some info like this
field1=abc&field2=def&field3=ghi&field4=jklThe problem seems to be that only with Internet Explorer, the last field of the cookie is being chopped off and it causes my code to throw exceptions. One of my users encountered the error and I had him send me the cookie and it came through like this:
field1=abc&field2=def&field3=ghiThis behavior doesn't happen in Chrome or Firefox (and unfortunately we can't push through other browsers, they have to use ID). We added my site to the trusted sites for users to no avail. I googled around but couldn't find anything on this specific issue. Has anyone else ever seen this?
r/ASPNET • u/[deleted] • Nov 28 '13
[MVC] Organizing your BundleConfig.cs
blackandodd.blogspot.ser/ASPNET • u/acj1971 • Oct 20 '12
Encrypting ASP.NET appSettings Web.Config File
r/ASPNET • u/Carolix • Jun 18 '12
Creating Car Rental Application in ASP.NET MVC3 Razor
r/ASPNET • u/miamiheat27 • Oct 16 '13
Web api question
So I'm in abit of discussion (more like an argument, ....that i hope i'll win muahaha.........i'm immature lol) , with my colleague about web api.
He's new to this stuff.
So the project is a typical MVC project. With an 'area' folder for sub mvc projects and the web api (we do the route registration in the reg file of each of the folder in the 'area' folder..then we call the registerAllRoute (or something like that) in the routeconfig.cs in 'App_start'0)
So anyways, the problem is completely different: You know how when you click "add:..empty API controller" , VS automatically adds a controller than inherits from ApiController ? (so like MyController: ApiController )
Well he's created a few api controller but deleted all the inheritance and instead replaced it with a controller he created in another non-api folder for some other reason. (So he has MyController : OtherController)
My question is, is there a loss of functionality by not inheriting from ApiController? ....and is it still technically an API controller if it's not inheriting from that ?
r/ASPNET • u/Carolix • Nov 28 '12
Release 2.1: Live Update Scheduling and Other Improvements
blog.scheduler-net.comr/ASPNET • u/Nemmie • Aug 20 '12
ASP.NET Web API error detail policy now defaults to the custom errors configuration
r/ASPNET • u/xivSolutions • Jul 23 '13
Routing Basics in ASP.NET MVC
r/ASPNET • u/AESensei • Oct 09 '12
How To Do Server-side Paging with RavenDB and DataTables.Net jQuery Plugin
r/ASPNET • u/amgadhs • Sep 13 '09
Moving the aspnetdb.mdf Database to a Production SQL Server
r/ASPNET • u/darrenkopp • Apr 10 '13
Playing with fire - Optimizing the ASPState internals
r/ASPNET • u/sabilv • Dec 06 '13
asp.net - Give Proper Space between two sql value in Dropdownlist
r/ASPNET • u/Carolix • May 07 '12
ASP.NET Event Calendar in MVC3 Razor
blog.scheduler-net.comr/ASPNET • u/ramnagesh • Sep 04 '13
appSettings Configuration Keys - ASP.Net
learnwebworld.comr/ASPNET • u/TookAnHourToRegister • Sep 18 '13
Invalid object name 'dbo.UserProfiles'
Please excuse my question as I am new to ASP.NET
I am using code first with migrations. I accidentally an s in a DbSet and Updated Database. I noticed a new table popped up called UserProfiles. I found my typo, fixed it, compiled, deleted the table from server explorer then ran another update-database. I believe I screwed up big time and should have used another way to delete the newly created UserProfiles table as my website is giving me Invalid object name 'dbo.UserProfiles' even though "UserProfiles" is NO WHERE to be found in my code. My code is trying to use "UserProfile" but I get UserProfiles error. I have been googling all day to see what I did wrong and I am ready to scrap the whole thing. Any ideas?
r/ASPNET • u/[deleted] • Jul 26 '11
I was just reading about WebGrid. What other built in helpers like this are there? I can't find any documentation on this.
r/ASPNET • u/HellboyAndSo • Jun 16 '13
I'm having troubles with Asp.net I want to make some visual thing for highscores. It needs to be as easy as it can.
The Thing is that I have a highscore, a number off attemps and a value for the correct answers. So the question is to fit those values into some sort of visual graph like it is in Excel. But -> Asp.net
Ty in advance
r/ASPNET • u/dotorion • Jan 18 '13
[Help] Populating a Gridview based on selected SelectBoxList values
For an ASP.Net assignment we have to build a real estate site.
I've got three datasources (two of which populate the checkboxlists), two CheckBoxLists (one to filter on sale or rent, one to filter on house type), and a gridview.
I'm trying to get my GridView to filter based on the selected values, but it's only partially working. For example when I check "Sale" and "Appartment" I will get only appartments that are for sale, so that is working correctly, but if I want to see appartments that are both for sale or for rent it doesn't add the ones for rent. Same goes if I select multiple house types.
I assume the problem lies with my select statement for my gridview's datasource:
SELECT * FROM [table] WHERE ((([ImmoID] = @ImmoID) OR ([ImmoID] = @ImmoID2)) AND (([TypeID] = @TypeID) OR ([TypeID] = @TypeID2)))ImmoID is the field that holds sale or rent, TypeID is the one with house types. @ImmoID and @ImmoID2 are the two checkboxes for my sale/rent checkboxlist the way I understood it, and @TypeID and @TypeID2 are the checkboxes for my house type list, although I don't know why there aren't any more (since I have like five house types)
r/ASPNET • u/Carolix • Dec 27 '12
What’s Next? More Scheduling in 2013
blog.scheduler-net.comr/ASPNET • u/angeljasica • Nov 25 '10