r/ASPNET • • Dec 06 '11

Watch out for outbound http requests...

Thumbnail diagonal.co.nz
0 Upvotes

r/ASPNET • • Apr 01 '13

MVC3, IE, and cookies having issues

0 Upvotes

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=jkl

The 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=ghi

This 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 • • Nov 28 '13

[MVC] Organizing your BundleConfig.cs

Thumbnail blackandodd.blogspot.se
9 Upvotes

r/ASPNET • • Oct 20 '12

Encrypting ASP.NET appSettings Web.Config File

Thumbnail
adamjohnston.me
5 Upvotes

r/ASPNET • • Jun 18 '12

Creating Car Rental Application in ASP.NET MVC3 Razor

Thumbnail
blog.scheduler-net.com
6 Upvotes

r/ASPNET • • Oct 16 '13

Web api question

0 Upvotes

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 • • Oct 06 '08

Custom Error Handling in ASP.Net

Thumbnail dotnet-magic.blogspot.com
1 Upvotes

r/ASPNET • • Oct 12 '10

Simple Unit Testing in C#

Thumbnail faranjessani.com
1 Upvotes

r/ASPNET • • Nov 28 '12

Release 2.1: Live Update Scheduling and Other Improvements

Thumbnail blog.scheduler-net.com
0 Upvotes

r/ASPNET • • Aug 20 '12

ASP.NET Web API error detail policy now defaults to the custom errors configuration

Thumbnail
jefclaes.be
0 Upvotes

r/ASPNET • • Jul 23 '13

Routing Basics in ASP.NET MVC

Thumbnail
typecastexception.com
0 Upvotes

r/ASPNET • • Oct 09 '12

How To Do Server-side Paging with RavenDB and DataTables.Net jQuery Plugin

Thumbnail
antjanus.com
0 Upvotes

r/ASPNET • • Sep 13 '09

Moving the aspnetdb.mdf Database to a Production SQL Server

Thumbnail
codehill.com
1 Upvotes

r/ASPNET • • Aug 30 '12

Security tester for ASP.NET websites

Thumbnail asafaweb.com
0 Upvotes

r/ASPNET • • Apr 26 '13

Using RestfulRouting with ASP.Net MVC

Thumbnail tech.pro
0 Upvotes

r/ASPNET • • Apr 10 '13

Playing with fire - Optimizing the ASPState internals

Thumbnail
darrenkopp.com
1 Upvotes

r/ASPNET • • Dec 06 '13

asp.net - Give Proper Space between two sql value in Dropdownlist

Thumbnail
stackoverflow.com
1 Upvotes

r/ASPNET • • May 07 '12

ASP.NET Event Calendar in MVC3 Razor

Thumbnail blog.scheduler-net.com
0 Upvotes

r/ASPNET • • Sep 04 '13

appSettings Configuration Keys - ASP.Net

Thumbnail learnwebworld.com
0 Upvotes

r/ASPNET • • Sep 18 '13

Invalid object name 'dbo.UserProfiles'

1 Upvotes

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 • • 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.

Thumbnail
msdn.microsoft.com
1 Upvotes

r/ASPNET • • 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.

0 Upvotes

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 • • Jan 18 '13

[Help] Populating a Gridview based on selected SelectBoxList values

1 Upvotes

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 • • Dec 27 '12

What’s Next? More Scheduling in 2013

Thumbnail blog.scheduler-net.com
0 Upvotes

r/ASPNET • • Nov 25 '10

Firefox Extension Development by Dedicated Developers

Thumbnail
indianic.com
1 Upvotes