Click here to Skip to main content
15,888,286 members
Home / Discussions / ASP.NET
   

ASP.NET

 
PraiseRe: hi experts.. How to use store procedure with Entity Framework Pin
John C Rayan2-May-16 23:49
professionalJohn C Rayan2-May-16 23:49 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
aarif moh shaikh4-May-16 2:18
professionalaarif moh shaikh4-May-16 2:18 
AnswerRe: hi experts.. How to use store procedure with Entity Framework Pin
John C Rayan2-May-16 23:48
professionalJohn C Rayan2-May-16 23:48 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
sunil34-May-16 20:58
sunil34-May-16 20:58 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
John C Rayan4-May-16 22:17
professionalJohn C Rayan4-May-16 22:17 
QuestionMapArea Coordinates not persisted Pin
Mark Falleroni27-Apr-16 5:06
Mark Falleroni27-Apr-16 5:06 
QuestionHow to control routing too many url's Pin
VBDeveloper201524-Apr-16 4:48
VBDeveloper201524-Apr-16 4:48 
AnswerRe: How to control routing too many url's Pin
Wombaticus24-Apr-16 5:18
Wombaticus24-Apr-16 5:18 
Personally I use my own url-rewriting routine - like many things, I find writing my own solution easier than trying to get to grips with the out of the box solutions.

If you have "too many url's" I presume your site is database-driven, so store a "friendly url" along with each page's data in the database. The you can capture the incoming request in the Application_BeginRequest method within a global_asax class using Request.Url.ToString and parse that to retrieve the friendly URL from the database then a simple Context.RewritePath([Friendly URL]) does the trick.

[edit] - sorry! That's back to front! You capture the users "friendly url" request and parse that to retrieve the "real" address and then Context.RewritePath([actual URL])

AnswerRe: How to control routing too many url's Pin
John C Rayan26-Apr-16 3:29
professionalJohn C Rayan26-Apr-16 3:29 
QuestionDeveloping an election ballot box app. Pin
samflex22-Apr-16 5:04
samflex22-Apr-16 5:04 
QuestionRe: Developing an election ballot box app. Pin
ZurdoDev22-Apr-16 5:39
professionalZurdoDev22-Apr-16 5:39 
AnswerRe: Developing an election ballot box app. Pin
samflex22-Apr-16 6:23
samflex22-Apr-16 6:23 
QuestionRe: Developing an election ballot box app. Pin
ZurdoDev22-Apr-16 6:32
professionalZurdoDev22-Apr-16 6:32 
AnswerRe: Developing an election ballot box app. Pin
F-ES Sitecore24-Apr-16 3:01
professionalF-ES Sitecore24-Apr-16 3:01 
GeneralRe: Developing an election ballot box app. Pin
samflex24-Apr-16 13:21
samflex24-Apr-16 13:21 
GeneralRe: Developing an election ballot box app. Pin
F-ES Sitecore24-Apr-16 22:51
professionalF-ES Sitecore24-Apr-16 22:51 
GeneralRe: Developing an election ballot box app. Pin
samflex25-Apr-16 4:38
samflex25-Apr-16 4:38 
GeneralRe: Developing an election ballot box app. Pin
F-ES Sitecore25-Apr-16 4:49
professionalF-ES Sitecore25-Apr-16 4:49 
GeneralRe: Developing an election ballot box app. Pin
samflex25-Apr-16 5:49
samflex25-Apr-16 5:49 
GeneralRe: Developing an election ballot box app. Pin
F-ES Sitecore25-Apr-16 23:11
professionalF-ES Sitecore25-Apr-16 23:11 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming26-Apr-16 1:42
mveRichard Deeming26-Apr-16 1:42 
GeneralRe: Developing an election ballot box app. Pin
samflex26-Apr-16 5:59
samflex26-Apr-16 5:59 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming26-Apr-16 7:28
mveRichard Deeming26-Apr-16 7:28 
GeneralRe: Developing an election ballot box app. Pin
samflex28-Apr-16 8:04
samflex28-Apr-16 8:04 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming28-Apr-16 8:08
mveRichard Deeming28-Apr-16 8:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.