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:798873
More Search Options
RSS Available
Matching Posts
Re: Test framework for vwd 2010 express edition
That doesn't mean it is not working. NUnit does not bother you with anything in VS. If you want tests, you simply write them. The prompt after the MVC project was default with VS 2008, and is using their own testing framework. I am sure you can still write tests and run them in NUnit.
Posted to
Visual Studio 2010 Beta 2
(Forum)
by
naspinski
on 10/27/2009
Re: Test framework for vwd 2010 express edition
Try NUnit, it is free and very popular: http://www.nunit.org
Posted to
Visual Studio 2010 Beta 2
(Forum)
by
naspinski
on 10/26/2009
Re: ASP.NET Roles do not propagate
No problem, glad to help. That one confused me for a while as well.
Posted to
Security
(Forum)
by
naspinski
on 10/22/2009
Re: asp:menu - how to hide menu items
I copy/pasted your exact code and it works perfectly... ?
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
naspinski
on 10/21/2009
Re: ASP.NET Roles do not propagate
This is because on your development machine, you are running as yourself. On your productoin machine, it is running as itself: NT AUTHORITY\NETWORK SERVICE. That means you are allowing anonymous access, which assigns the IIS user to everyone. Try turning off anonymous access.
Posted to
Security
(Forum)
by
naspinski
on 10/21/2009
Re: show div tag problem
I notice in your javascript, you are looking for the element with the id of 'd1', but there are no elements with the id of 'd1' in your markup.
Posted to
Client Side Web Development
(Forum)
by
naspinski
on 10/21/2009
Re: Selecting fraction of a filed
With SQL, I don't know how you can select just a part of a column, but it is possible with your code. here is how I would do it with Linq-to-SQL: int maxTextLength = 50; var FiveMostRecentNews = db.News.OrderByDescending(x => x.NewsID).Take(5) .Select(x => new { x.NewsID, x.Title, Text = (x.Text.Length > maxTextLength ? x.Text.SubString(0,maxTextLength) : x.Text)}); // now you have a collection of 5 anonymous type 'news' items that have: // NewsID, Title and the first 50 chars
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
naspinski
on 10/21/2009
Re: Dynamically added User Control added to page is lost on postback
That is because, since html is stateless, you are not perisisting your controls between postbacks. If you are doing this, you need to store your controls, and every page load, check if there is a control in storage to render or not. I have an example here: http://examples.naspinski.net/persist_dynamic.aspx And an explanation here: http://naspinski.net/post/Adding-Persistent--Controls-is-AspNet.aspx
Posted to
Web Forms
(Forum)
by
naspinski
on 10/21/2009
Re: ASP.NET Roles do not propagate
Ahh, now I understand you problem, and I had the same exact one. It is because you aren't using the same roles database, which is accessed through the 'LocalSqlServer' connection string that you probably don't even know about. I wrote a post about it to explain why this happens, and what to do: http://naspinski.net/post/Moving-ASPNET-roles-from-TestLocal-to-Production.aspx let me know if you have any questions.
Posted to
Security
(Forum)
by
naspinski
on 10/21/2009
How do I listen for emails
I am not totally sure where to post this, so here goes. I am trying to add in a feature to my open source project that listens for and parses emails - I do not know where to start. Any ideas or pointers to put me in the right direction? Thank you.
Posted to
Web Forms
(Forum)
by
naspinski
on 9/24/2009
Filed under: .net 3.5 email
Page 1 of 17 (168 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online