Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:608746
More Search Options
RSS Available
Matching Posts
Linq to SQL get parameters
I have a strange problem where executing a Linq to SQL query is taking 2 mins, but if I get the query and execute it directly it takes only 2 secs. So in code I would like to be able to a work around this issue like this: DataContext db = new DataContext(); var query = db.Sales.Where(....); var result = db.ExecuteQuery<Sale>(query.ToString(), p1, p2, p3); So does anyone know how to retrieve the parameters from a Linq expression? Otherwise it looks like I'll just have to write this query
Posted to
Web Forms
(Forum)
by
mcm
on 11/26/2009
What are the Request Validation changes?
I mistakenly filed a connect bug, because I didn't see this document: http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes/#_TOC4 https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=508625 So it appears that the ValidateRequest property on page no longer has any effect because the validation happens too early in the pipeline. So if you did want to do something like have a html editor on your site, how can you disable the html validation for just a particular
Posted to
ASP.NET 4 Beta 2
(Forum)
by
mcm
on 11/25/2009
Re: dropping the .aspx extension in the routing rules gives me a 404
Interestingly, it appears that it's only Web Sites where it doesn't work. If you create a Web Application instead then it works fine.
Posted to
ASP.NET Dynamic Data
(Forum)
by
mcm
on 11/11/2009
Re: dropping the .aspx extension in the routing rules gives me a 404
Yeah, doesn't work on Vista either. This thread is talking about Visual Studios built-in web server Cassini, I have no problem getting it to work on IIS6 or IIS7. I could use IIS5 on my WinXP development machine but I seem to remember routing all requests thru asp.net on IIS5 was harder to do, and since I'm finding virtual directories not working properly I'd have to switch the website folder (WinXP limited to one website only) if changing projects if we were to get IIS5 working with
Posted to
ASP.NET Dynamic Data
(Forum)
by
mcm
on 11/10/2009
Re: dropping the .aspx extension in the routing rules gives me a 404
Windows XP & Vista, but will recheck again with Vista.
Posted to
ASP.NET Dynamic Data
(Forum)
by
mcm
on 11/9/2009
Re: dropping the .aspx extension in the routing rules gives me a 404
This has never worked for me on different computers although I am using Web Developer Express. And yes an extension like ".foo" does work for me.
Posted to
ASP.NET Dynamic Data
(Forum)
by
mcm
on 11/8/2009
.NET 4.0 aspnet_merge.exe?
Hi, I was just wondering if anyone knows anything about the release of the aspnet_merge tool for the dotnet 4 framework? According to this page: http://msdn.microsoft.com/en-us/library/bb397866%28VS.100%29.aspx It would seem that it should be part of the dotnet 4 installer, however, that does not seem to be the case for me. Else is it going to be released as part of the dotnet 4 and windows 7 sdk in the future?
Posted to
ASP.NET 4 Beta 2
(Forum)
by
mcm
on 11/7/2009
Re: How do get the original exception with EntityDataSourceChangingEventArgs?
Looks like this dilemma is now sorted with ASP.NET 4 as it now no longer replaces the original exception with it's own, it now offers up the original exception instead. What would be nice is for all the values to be tried and for EntityDataSourceChangingEventArgs to offer up a collection of all the validation errors like it does in Linq to SQL instead of just the first but at least differiantating on exception type is now tidied up.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
mcm
on 10/31/2009
Re: OnPropertyChanging incorrectly called on delete with EntityDataSource
Thanks for the suggestion, I actually posted there first: http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/b8fdf91e-e09e-479a-8e4e-4c46f0f38046/
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
mcm
on 10/14/2009
Re: How do get the original exception with EntityDataSourceChangingEventArgs?
Thanks, I gather though they more deal with WinForms: http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/918d577a-6b8d-42e3-8265-84f84f944e97/
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
mcm
on 10/14/2009
Page 1 of 3 (22 items) 1
2
3
Next >
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online