<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>WilsonDotNet Forums : General ASP.NET</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=rss&amp;id=17&amp;key=vwo%2bDCrOxuZTHBkQMegpFw%3d%3d</link><description>WilsonDotNet Forums : General ASP.NET</description><item><title>using vb and c# in VS .net</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=125&amp;key=CgBqcJqyRwuE6f6vBcjXuQ%3d%3d&amp;post=7750</link><pubDate>Wed, 21 Nov 2007 23:10:18 GMT</pubDate><description>&lt;P&gt;Hi Sara&lt;/P&gt;
&lt;P&gt;This is possible in vs 2005.&amp;nbsp; Im not sure about vs 2003.&lt;/P&gt;
&lt;P&gt;When you add a new aspx or a class to a project there is a option to specify the code behind languge there.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;If you are using vs 2005, you can do this, please go thru the add new aspx dialog carefully.&lt;/P&gt;
&lt;P&gt;Jhon Doe&lt;/P&gt;</description></item><item><title>Sample Wilson ORMapper Web Application</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2500&amp;key=jVCMO2eDERULPt0%2bDnPneQ%3d%3d&amp;post=7536</link><pubDate>Mon, 26 Mar 2007 19:28:59 GMT</pubDate><description>&lt;P&gt;Sorry, but there's not one.&amp;nbsp; Why?&amp;nbsp; Because there really aren't enough differences to justify the far additional pain that comes with trying to help people setup a web app.&amp;nbsp; The only real difference as far as the mapper goes is that you should probably use the IsolatedContext property on your ObjectSpace with each request.&amp;nbsp; That will spawn a new instance without the overhead of initialization and keep different threads from possibly colliding.&amp;nbsp; All other issues are general web issues, such as how to work in a stateless environment, and are not specific to the mapper.&lt;/P&gt;
&lt;P&gt;Thanks, Paul Wilson&lt;/P&gt;</description></item><item><title>Sample Wilson ORMapper Web Application</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2500&amp;key=jVCMO2eDERULPt0%2bDnPneQ%3d%3d&amp;post=7522</link><pubDate>Mon, 26 Mar 2007 19:25:01 GMT</pubDate><description>&lt;P&gt;Hi. Just wanna know if there's any sample ASP.NET application that uses WilsonORMapper (besides WilsonWebPortal). All I need is a simple web application that does CRUD, a bit similar to the existing Windows Apps Sample and Demo project. I'm considering using this tool to all of our projects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description></item><item><title>Creating a BLL using WORM DAL</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2437&amp;key=h2I1UbUAYFwfimZxD%2fxeAA%3d%3d&amp;post=7386</link><pubDate>Wed, 03 Jan 2007 18:48:56 GMT</pubDate><description>&lt;P&gt;Hi val:&lt;/P&gt;
&lt;P&gt;Its more the other way around.&amp;nbsp; The ORMapper basically serves as your DAL through your mappings to the BLL that you create (or generate).&amp;nbsp; Note that I prefer saying create, although I put generate in parentheses, since generating the BLL with either the ORHelper or the CodeSmith templates is completely optional.&amp;nbsp; What matters is that you do produce a BLL that you map to, and while I often start with a generated version, I also typically manually tweak it from that point on, although some probably only use code gen.&amp;nbsp; Of course the generated objects don't have any business logic in them since that is something that cannot be determined from your database, but I certainly have some in some of my own that I use.&lt;/P&gt;
&lt;P&gt;Thanks, Paul Wilson&lt;/P&gt;</description></item><item><title>Creating a BLL using WORM DAL</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2437&amp;key=h2I1UbUAYFwfimZxD%2fxeAA%3d%3d&amp;post=7385</link><pubDate>Wed, 03 Jan 2007 17:44:26 GMT</pubDate><description>&lt;P&gt;If I understand correctly WORM allows you to generate a DAL. I was wondering if there is any sample or possibly generated tips to create a good BLL that would of course consume the WORM DAL.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;val&lt;/P&gt;</description></item><item><title>authentication for subdomain</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2304&amp;key=9l12JYzW%2b3Xxhb4OPPw3SQ%3d%3d&amp;post=7070</link><pubDate>Tue, 29 Aug 2006 20:42:32 GMT</pubDate><description>First, I'm not real sure if you can do this for sub-domains -- maybe, but maybe not.&amp;nbsp; What I do know is that you can set it up for sub-applications.&amp;nbsp; See &lt;a href="http://msdn2.microsoft.com/en-us/library/1d3t3c61.aspx"&gt;this link&lt;/a&gt; for the enableCrossAppsRedirect setting in ASP.NET v2.0 and also &lt;a href="http://msdn2.microsoft.com/en-us/library/eb0zx8fc.aspx"&gt;this link&lt;/a&gt; for the settings that must be the same.&amp;nbsp; That may be enough for sub-domains too, but that I do not know.&lt;br&gt;&lt;br&gt;Thanks, Paul Wilson&lt;br&gt;</description></item><item><title>authentication for subdomain</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2304&amp;key=9l12JYzW%2b3Xxhb4OPPw3SQ%3d%3d&amp;post=7069</link><pubDate>Tue, 29 Aug 2006 20:37:03 GMT</pubDate><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a domain named domain.com&lt;/P&gt;
&lt;P&gt;and i configured form authentication.&lt;/P&gt;
&lt;P&gt;i have created a subdomain named subdomain.domain.com&lt;/P&gt;
&lt;P&gt;I want&amp;nbsp; users who are already authenticated&amp;nbsp;for domain.com &amp;nbsp;to automatically enter subdomain.domain.com .How can i do that?&lt;/P&gt;
&lt;P&gt;what should i put in web.configs for domain.com and subdomain.com.&lt;/P&gt;
&lt;P&gt;should i create 2 different web.configs and put them their related domain root(subdomain.domain.com and domain.com)?&lt;/P&gt;
&lt;P&gt;Thank u for your help in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>paging problem id dataGrid using dropdown</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2214&amp;key=v%2bUoi72aIQ9b23q%2fQNFJZw%3d%3d&amp;post=6855</link><pubDate>Fri, 30 Jun 2006 10:19:50 GMT</pubDate><description>Hi Jagjot:&lt;br&gt;&lt;br&gt;I really really don't use datagrids, so this is a guess, but it sounds like you're trying to set things too early in the page lifecycle -- you typically do this type of thing in the Load event.&lt;br&gt;&lt;br&gt;Thanks, Paul Wilson&lt;br&gt;</description></item><item><title>paging problem id dataGrid using dropdown</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2214&amp;key=v%2bUoi72aIQ9b23q%2fQNFJZw%3d%3d&amp;post=6851</link><pubDate>Fri, 30 Jun 2006 10:18:19 GMT</pubDate><description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am using datagrid and using paging function to control paging. but when i tried to use dropdown to pass the value to page.pagesize in initilizeLayout function nothing happened.In dropdown i set the property to postback = true. i am using session variable to pass the value i also tried viewstate variable. but still same problem.&lt;/P&gt;
&lt;P&gt;I cannot pass the value to page.pagesize = session("Variable") any help whould be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Jagjot Singh&lt;/P&gt;</description></item><item><title>datagrid hyperLink column</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=7&amp;key=EEozkQkO2h74n70ztgeNdQ%3d%3d&amp;post=6759</link><pubDate>Wed, 07 Jun 2006 16:53:10 GMT</pubDate><description>Well I don't really use grids, but I would think you could do that with a templatecolumn -- maybe someone else will see and comment accordingly.&amp;nbsp; I personally use repeaters -- you get far more control, making something like that trivial -- a tiny bit more work that goes a long way at getting you both better "grids" and more efficiency.&amp;nbsp; Grids work great for the simplest of cases, but once you start getting into more advanced cases, while you can surely do it, you end up doing more work than a repeater -- and the rendered html really sucks.&lt;br&gt;&lt;br&gt;Thanks, Paul Wilson&lt;br&gt;</description></item><item><title>datagrid hyperLink column</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=7&amp;key=EEozkQkO2h74n70ztgeNdQ%3d%3d&amp;post=6758</link><pubDate>Wed, 07 Jun 2006 16:50:01 GMT</pubDate><description>&lt;P&gt;I have a good question: some days ago, i worked in a project and i was starting in asp.net, and i create very faster a grid, but i needed something that could get item by item and trated to put hyperlink just when the conditional was true. Something like this:&lt;BR&gt;&lt;BR&gt;if&amp;nbsp; status = 'Activate' then&lt;BR&gt;&amp;nbsp;&amp;nbsp; link = true&lt;BR&gt;else&lt;BR&gt;&amp;nbsp; link = false&lt;BR&gt;end if&lt;/P&gt;
&lt;P&gt;In this way, i could put link just in the row that i wanted.&lt;BR&gt;&lt;BR&gt;But i can´t do it. Anyone can help me.&lt;/P&gt;
&lt;P&gt;PS: Sorry about my poor english, i´m from Brasil....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>please suggest books</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1750&amp;key=2H%2bZQb7T9bVcYbsseuJpzw%3d%3d&amp;post=6714</link><pubDate>Fri, 26 May 2006 14:48:37 GMT</pubDate><description>&lt;P&gt;To answer your question in a general way, I think that "Code Complete" is a good, all-purpose, general reference that could be quite helpful for all developers. Note, it is not about C# and ASP.NET in particular; but, it is still good nonetheless. I use it as a reference and find it helpful.&lt;/P&gt;
&lt;P&gt;In the past, when I used to read books cover-to-cover, I have found that the Wrox "Problem-Design-Solution" books were quite good. They analyze a problem, design a solution, and build the full working code base in the lifetime of the book. That is a very good way to learn. Check out &lt;A href="http://www.Wrox.com"&gt;http://www.Wrox.com&lt;/A&gt; for more details.&lt;/P&gt;
&lt;P&gt;However, since there is so much free online, I think you might want to look&amp;nbsp;at the StarterKits at &lt;A href="http://www.ASP.net"&gt;http://www.ASP.net&lt;/A&gt; to find some samples.&lt;/P&gt;
&lt;P&gt;Another good idea is to get sample applications, such as from &lt;A href=""&gt;http://www.WilsonDotNet.com&lt;/A&gt; and study them. &lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;--Mark Kamoski&lt;/P&gt;</description></item><item><title>Regarding Dataset</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=14&amp;key=zG%2bSY2W8EPWg6jSL77kI2A%3d%3d&amp;post=6699</link><pubDate>Fri, 19 May 2006 18:50:30 GMT</pubDate><description>&lt;P&gt;:-)&lt;/P&gt;
&lt;P&gt;It is funny how "pedantic" is a pedantic sounding word.&lt;/P&gt;
&lt;P&gt;Kind of makes a circle.&lt;/P&gt;
&lt;P&gt;Just a thought.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;--Mark Kamoski&lt;/P&gt;</description></item><item><title>Deploying from VWD Express to website</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2123&amp;key=KuODYlUPFlWJGHQBcSBh5Q%3d%3d&amp;post=6698</link><pubDate>Fri, 19 May 2006 18:48:50 GMT</pubDate><description>&lt;P&gt;Daniel--&lt;/P&gt;
&lt;P&gt;This is just a wild-guess; but, yours sounds like a problem that I once faced.&lt;/P&gt;
&lt;P&gt;Try setting permissions.&lt;/P&gt;
&lt;P&gt;It sounds like you have full-control over the server; so, that can be done from Windows Explorer on the server itself.&lt;/P&gt;
&lt;P&gt;Right-click the root folder for the web, &lt;/P&gt;
&lt;P&gt;then choose the menu item "Sharing and Security", &lt;/P&gt;
&lt;P&gt;then go to the tab "Security",&lt;/P&gt;
&lt;P&gt;then add the ASPNET account and check "Read" permissions,&lt;/P&gt;
&lt;P&gt;then add the IUSR_YourMachineName account and check the "Read" permissions,&lt;/P&gt;
&lt;P&gt;then try again.&lt;/P&gt;
&lt;P&gt;If you have a database in the App_Data folder, then you may need to do the same thing for the App_Data folder but you will probably need to grant Read and Write permissions.&lt;/P&gt;
&lt;P&gt;Try all that, writing down the steps as you go so that you can undo it if necessary.&lt;/P&gt;
&lt;P&gt;It may just work. I hope it does. It did for me.&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;--Mark Kamoski&lt;/P&gt;</description></item><item><title>Deploying from VWD Express to website</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2123&amp;key=KuODYlUPFlWJGHQBcSBh5Q%3d%3d&amp;post=6613</link><pubDate>Tue, 02 May 2006 22:00:58 GMT</pubDate><description>Hi Daniel:&lt;br&gt;&lt;br&gt;First, setting the directory to be an IIS app was the correct thing to do.&amp;nbsp; But at this point, without a more detailed error message I don't have any idea -- and obviously if it didn't give you any more details than that's another problem.&amp;nbsp; There may be some general things to watch out for when using using the VWD web server, but I can't help you there either since I avoid the VWD web server since I don't want these types of issues!&amp;nbsp; I recommend googling with VWD and IIS, or some version of those terms, or finding someone that does have experience with the VWD web server.&lt;br&gt;&lt;br&gt;Good luck, Paul Wilson&lt;br&gt;</description></item><item><title>Deploying from VWD Express to website</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2123&amp;key=KuODYlUPFlWJGHQBcSBh5Q%3d%3d&amp;post=6604</link><pubDate>Tue, 02 May 2006 21:56:00 GMT</pubDate><description>&lt;P&gt;I have a simple application working under Visual Web Developer 2005 Express working and I try to deploy it on our website, which is IIS capable. &lt;/P&gt;
&lt;P&gt;However, it is not working.&amp;nbsp; After copying all the files to the web server and run it, an error comes up: &amp;lt;authentication mode="Window"/&amp;gt;.&lt;/P&gt;
&lt;P&gt;From resources I found online, it seemed that I need to set the directory in which my files are in to be an application. So, I did. &lt;/P&gt;
&lt;P&gt;Then, the error becomes "Server Error in '/vwd/Lesson10' Application.", where /vwd/Lesson10 is the directory the files are in. &lt;/P&gt;
&lt;P&gt;What did I do wrong? &lt;/P&gt;
&lt;P&gt;Thank you! &lt;/P&gt;
&lt;P&gt;Daniel Chan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>TreeView Drives Dynamic UserControl</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2113&amp;key=TABoCoBTTWARpN83QtAzLQ%3d%3d&amp;post=6570</link><pubDate>Sun, 30 Apr 2006 00:12:22 GMT</pubDate><description>&lt;P&gt;Page consists of&amp;nbsp;a TreeView on the left and a (dynamically loaded) UserControl on the right.&amp;nbsp; The choice of which UserControl (ascx file) to load varies based on the TreeView selection.&amp;nbsp; I realize the UserControl must be loaded during Init.&amp;nbsp; But how do I determine node selection so I know which UserControl to load?&lt;/P&gt;
&lt;P&gt;Looking for recommendation(s) on best approach.&lt;/P&gt;</description></item><item><title>Sharing a library across multiple apps.</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1951&amp;key=jzgurPloy507Jzmf1USjJQ%3d%3d&amp;post=6103</link><pubDate>Fri, 03 Mar 2006 07:13:59 GMT</pubDate><description>Thanks Paul.  I appreciate the advice.  I think I'll stick to the old copy and paste routine for now. =)&lt;br /&gt;
&lt;br /&gt;
Sam</description></item><item><title>Sharing a library across multiple apps.</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1951&amp;key=jzgurPloy507Jzmf1USjJQ%3d%3d&amp;post=6088</link><pubDate>Wed, 01 Mar 2006 10:25:08 GMT</pubDate><description>Hi Sam:&lt;br /&gt;
&lt;br /&gt;
You certainly can use the GAC, although I think most in the know wouldn't recommend it.  The GAC is best for shared libraries that are not going to change very often, but you might update your own library frequently and then you'll end up having to make sure every app using that is also updated if there are significant changes (and at least tested).  Just copying the library in each app's bin makes sure that your app doesn't start using a new version of a shared library unless you are prepared, whether that means tested or updated.  It doesn't sound as &amp;quot;beautiful&amp;quot; since there are multiple copies of your dll, but space is plentiful and we all remember dll-hell.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Sharing a library across multiple apps.</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1951&amp;key=jzgurPloy507Jzmf1USjJQ%3d%3d&amp;post=6085</link><pubDate>Wed, 01 Mar 2006 06:59:45 GMT</pubDate><description>Howdy,&lt;br /&gt;
&lt;br /&gt;
I've developed a rather large web app along with a few windows services in support of the app.  It would be ideal if I could share a library with the web app and the services.&lt;br /&gt;
&lt;br /&gt;
Would my best bet be to simply use the GAC to store this library?  How do I automate such a scenerio?  Oh and how would I best setup my projects to support such a setup?&lt;br /&gt;
&lt;br /&gt;
There must be someone out there that has had to deal with such a scenario.&lt;br /&gt;
&lt;br /&gt;
Any help would be muchly appreciated. =)&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
Sam</description></item><item><title>IIs 5.1 headaches</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1927&amp;key=A4hwsREglxWbnJaFUlOWKA%3d%3d&amp;post=6077</link><pubDate>Mon, 27 Feb 2006 06:57:39 GMT</pubDate><description>Sorry, but I have no idea what you are experiencing since I have never had a similar issue, nor heard of such an issue.  Lots of people and companies use IIS, and the vast majority quite successfully.  By the way, I develop with XP Pro.&lt;br /&gt;
&lt;br /&gt;
Good luck, Paul Wilson</description></item><item><title>arrays and objects</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1939&amp;key=ESYZQqoMUD4VBU4TD%2f25jQ%3d%3d&amp;post=6076</link><pubDate>Mon, 27 Feb 2006 06:54:38 GMT</pubDate><description>Sure its doable.  In C# you specify the type as int[] -- I believe the equivalent in VB would be Integer().  As for alternatives, it depends on what you're trying to achieve.  If you want a fixed sized container then an array may be best, while if you want a variable size container then you probably want an ArrayList, or List&amp;lt;int&amp;gt; (or List(Of Integer) in VB) if you're using .NET v2.0.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>arrays and objects</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1939&amp;key=ESYZQqoMUD4VBU4TD%2f25jQ%3d%3d&amp;post=6064</link><pubDate>Fri, 24 Feb 2006 12:58:06 GMT</pubDate><description>hi, i was wondering how you make a property an array in asp.net (VB.Net).  for example, i'd like to do:&lt;br /&gt;
&lt;br /&gt;
public class whatever&lt;br /&gt;
public property myArray() as integer&lt;br /&gt;
get&lt;br /&gt;
   'gets array&lt;br /&gt;
set&lt;br /&gt;
   'sets array&lt;br /&gt;
etc&lt;br /&gt;
&lt;br /&gt;
is this possible?  or are there better workarounds? thanks&lt;br /&gt;
&lt;br /&gt;
Jason</description></item><item><title>datagrid hyperLink column</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=7&amp;key=EEozkQkO2h74n70ztgeNdQ%3d%3d&amp;post=6056</link><pubDate>Thu, 23 Feb 2006 08:37:34 GMT</pubDate><description>Searched all over the net for a solution to this problem.  Great example.&lt;br /&gt;
&lt;br /&gt;
Jim C</description></item><item><title>IIs 5.1 headaches</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1927&amp;key=A4hwsREglxWbnJaFUlOWKA%3d%3d&amp;post=6024</link><pubDate>Mon, 20 Feb 2006 21:45:53 GMT</pubDate><description>I run win xp pro and have used 2 machines to develop asp.net projects. The first computer worked fine until iis took a crap and I getthe old &amp;quot;visual studio has determined that the server in not..  blah blah&amp;quot; and I have done everything I can to fix this to no avail.&lt;br /&gt;
&lt;br /&gt;
a few months later the same thing has happened to my other computer.&lt;br /&gt;
&lt;br /&gt;
do I need to switch to win 2000 or win 2003 server?&lt;br /&gt;
&lt;br /&gt;
I really hate iis and see why my large company does not use asp, they use coldfusion.</description></item><item><title>Project Layout</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1774&amp;key=R0E0WaxjxO138DDwNXq4tg%3d%3d&amp;post=5524</link><pubDate>Mon, 19 Dec 2005 05:42:54 GMT</pubDate><description>That is a little too general to answer well.  I think what is easy to say is that a well-designed application of any size will likely consist of several projects -- each representing a different logical layer or separate sub-system.  For instance, usually there is a separate DAL (unless you're using an O/R Mapper), then there is a separate business object project.  Then you may have a few reusable controls that you package in another project, and you may a sub-system that can be broken out.  Then you have the main web UI project -- and that should also be layed out logically into sub-folders if its of any size -- but I don't think there necessarily any rule that just says put all user controls together.  Most of this type of stuff is only learned through seeing and working with many projects and people over the course of years.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Project Layout</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1774&amp;key=R0E0WaxjxO138DDwNXq4tg%3d%3d&amp;post=5518</link><pubDate>Sun, 18 Dec 2005 21:08:17 GMT</pubDate><description>How do people generally organise their projects.&lt;br /&gt;
&lt;br /&gt;
I know this is very general but do you tend to put all your usercontrols in a seperate subfolder or a subfolder for type of user control (eg: navigation in one folder etc). Does anyone know where i could get more advice on this rather than trial and error?</description></item><item><title>Regarding Dataset</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=14&amp;key=zG%2bSY2W8EPWg6jSL77kI2A%3d%3d&amp;post=5479</link><pubDate>Wed, 14 Dec 2005 09:52:52 GMT</pubDate><description>PM, please don't be so pedantic.  I have been looking at both docs and intellisense and its not clear at all.</description></item><item><title>Form Values </title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1749&amp;key=GXyiH2i%2bqS0lqGkAlo1wHA%3d%3d&amp;post=5478</link><pubDate>Tue, 13 Dec 2005 17:49:51 GMT</pubDate><description>Maybe I can find something if you send me the code -- even if it only does it in one environment it might make me think of something.  Although don't get your hopes up too much since right now I'm totally clueless.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Form Values </title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1749&amp;key=GXyiH2i%2bqS0lqGkAlo1wHA%3d%3d&amp;post=5477</link><pubDate>Tue, 13 Dec 2005 15:27:27 GMT</pubDate><description>It definitely is related to the wilson:form because when we changed it back to a regular form, just for testing purposes, it worked fine. If you come up with any other thoughts on the matter, I would really appreciate hearing them!</description></item><item><title>Form Values </title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1749&amp;key=GXyiH2i%2bqS0lqGkAlo1wHA%3d%3d&amp;post=5465</link><pubDate>Tue, 13 Dec 2005 08:00:50 GMT</pubDate><description>The WebForm doesn't change any of the built-in behavior of the web controls that automatically refill their values when posting back -- so I'm not sure what could cause that, nor have I seen or heard of this before.  I'd be curious if this occurs in non-WebForm pages, or if this only occurs maybe with some 3rd party controls that are having some issues.  For instance, the FreeTextBox recently had this behavior in ASP.NET v2.0 -- something that has since been fixed -- and note that this was occurring in all ASP.NET pages and had nothing to do with the WebForm.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>please suggest books</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1750&amp;key=2H%2bZQb7T9bVcYbsseuJpzw%3d%3d&amp;post=5464</link><pubDate>Tue, 13 Dec 2005 05:17:03 GMT</pubDate><description>I haven't really looked at any of the 2.0 books yet, so I don't have a recommendation for you.  Keep in mind that I've been working with 2.0 for 3 years now -- and there obviously weren't any books during most of that time.  :)&lt;br /&gt;
&lt;br /&gt;
Good luck, Paul Wilson</description></item><item><title>please suggest books</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1750&amp;key=2H%2bZQb7T9bVcYbsseuJpzw%3d%3d&amp;post=5455</link><pubDate>Mon, 12 Dec 2005 08:23:37 GMT</pubDate><description>Hi Wilson,&lt;br /&gt;
&lt;br /&gt;
I am sorry to post this message here. &lt;br /&gt;
Can you please suggest be good books on ASP.NET 2.0 and&lt;br /&gt;
C# .NET 2.0&lt;br /&gt;
&lt;br /&gt;
Thank you very much for your time.&lt;br /&gt;
Srinivasa Telukutla.</description></item><item><title>Form Values </title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1749&amp;key=GXyiH2i%2bqS0lqGkAlo1wHA%3d%3d&amp;post=5453</link><pubDate>Sun, 11 Dec 2005 13:11:34 GMT</pubDate><description>I have been using the Wilson form for my asp.net application for a while, successfully. However, we recently began to have problems picking up values assigned to inputs within the Wilson:form in the C# code, on the server side. For example, Request.Params[&amp;quot;MyInput&amp;quot;] has the value assigned, but MyInput.Value comes up empty.  This is a recent problem and I don't know exactly when it started happening.  It still works on my local machine, in my local testing enviroment, but not on the webserver -- the live site.  &lt;br /&gt;
&lt;br /&gt;
Any suggestions? Any ideas at all would be appreciated. &lt;br /&gt;
&lt;br /&gt;
Thank you.</description></item><item><title>custom 404 page</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1682&amp;key=Lqe5q1gpT3Th6b3YKNWrsQ%3d%3d&amp;post=5269</link><pubDate>Fri, 11 Nov 2005 08:45:16 GMT</pubDate><description>You'll need to map htm/html file types in IIS to be routed to ASP.NET in order for ASP.NET to catch them.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>custom 404 page</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1682&amp;key=Lqe5q1gpT3Th6b3YKNWrsQ%3d%3d&amp;post=5267</link><pubDate>Fri, 11 Nov 2005 08:18:51 GMT</pubDate><description>i've created a custom 404 page in asp.net and set the web.config to redirect there.  however, this only engages when someone mistypes a file w/the extension .aspx or .asp.  i need it to engage whenever they have ANY type of file, like .html (specifically), since we just redid our site from flat HTML pages to asp.net and google has our entire old site indexed, meaning all those pages are broken links (to .html pages).  i'd like to be able to capture the people who follow those links and redirect them to the new site.&lt;br /&gt;
&lt;br /&gt;
any ideas?&lt;br /&gt;
&lt;br /&gt;
thanks paul</description></item><item><title>Dynamic Hyperlink and EventHandler</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=104&amp;key=R541Z5aku8QA9j1L1OuVgw%3d%3d&amp;post=5238</link><pubDate>Tue, 08 Nov 2005 07:45:42 GMT</pubDate><description>hi &lt;br /&gt;
my name is mukesh &lt;br /&gt;
&lt;br /&gt;
if u want give hyperlink to specific column of datagrid.use itedata bound event of data grid.and use this syntax.&lt;br /&gt;
&lt;br /&gt;
e.item[0].cells.text=&amp;quot;&amp;lt;a href=&amp;quot;+give link page+&amp;quot;&amp;gt;&amp;quot;+e.item[0].cells.text+&amp;quot;&amp;lt;a&amp;gt;&amp;quot;</description></item><item><title>rendering different in SAME BROWSER</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1663&amp;key=FbuZvdzA7nXour5u%2fdAauw%3d%3d&amp;post=5222</link><pubDate>Mon, 07 Nov 2005 08:47:25 GMT</pubDate><description>thanks for responding.  i checked his resolution and it was in fact higher.  i set it down to mine and no change.  his font size was medium, and he has no custom stylesheet.  in my site, i don't have a single absolutely positioned element, either.  he has default settings for everything else as he is about as computer savvy as a brick.  any ideas?</description></item><item><title>rendering different in SAME BROWSER</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1663&amp;key=FbuZvdzA7nXour5u%2fdAauw%3d%3d&amp;post=5216</link><pubDate>Sun, 06 Nov 2005 18:49:01 GMT</pubDate><description>Browsers have their own configuration settings (colors, fonts, accessibility, stylesheet, etc.), so just because the operating system and browser are the same doesn't mean much.  You also can have different screen resolutions, which can of course make a big difference.  In the end, the fact that things can render differently shouldn't be an issue -- its actually a plus of the browser.  You do of course have to understand these issues enough so that you don't create a site that tries to force a certain view using too much absolute positioning -- since that can be a nightmare.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>rendering different in SAME BROWSER</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1663&amp;key=FbuZvdzA7nXour5u%2fdAauw%3d%3d&amp;post=5212</link><pubDate>Sat, 05 Nov 2005 20:27:22 GMT</pubDate><description>ok, this is really creeping me out because all the work i've put into this site may be for naught.&lt;br /&gt;
&lt;br /&gt;
i've created a website that validates both as xhtml and as css.  it shows up the way it should in IE6, FF, and Opera, at least, on my computer.  upon completing a huge section of the site, i was excited to show my roommate.  so i pulled it up in his IE6 browser, and, much to my dismay, it renders completely wrong.  i figure, oh maybe he doesn't have the latest version, so i check it.  it's the same exact one as mine.  getting scared, i check his operating system configuration.  windows xp pro 2002 version, service pack 2.  same as mine.  i don't know what is wrong and i can't think of any reason why this would occur.  how could something render completely differently in the SAME EXACT BROWSER/OS CONFIGURATION??&lt;br /&gt;
&lt;br /&gt;
HELP!!</description></item><item><title>Virtual IIS Directories - Remote?</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1656&amp;key=lLWE2FOz4o6bOCJhiIZR3Q%3d%3d&amp;post=5205</link><pubDate>Fri, 04 Nov 2005 15:10:15 GMT</pubDate><description>Hi Turbot:&lt;br /&gt;
&lt;br /&gt;
I haven't tried to execute ASP.NET files on a remote server that was mapped in IIS -- and I'm not sure one way or the other if you can.  I have mapped remote folders though to use them as the source for file downloads and uploads -- and that has worked fine, although I had to add a location tag in my web.config file for the app-relative path that used those files and then assign an identity with impersonation on the network credentials.  You probably will need to do the same thing if its going to be possible at all:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;location path=&amp;quot;VirtualDirectory&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;system.web&amp;gt;&lt;br /&gt;
    &amp;lt;identity impersonate=&amp;quot;true&amp;quot; userName=&amp;quot;Server\User&amp;quot; password=&amp;quot;blahblah&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/system.web&amp;gt;&lt;br /&gt;
&amp;lt;/location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Virtual IIS Directories - Remote?</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1656&amp;key=lLWE2FOz4o6bOCJhiIZR3Q%3d%3d&amp;post=5192</link><pubDate>Thu, 03 Nov 2005 17:53:00 GMT</pubDate><description>Paul,  your article on iis virtual directories and asp.net was the only real article I have found.&lt;br /&gt;
&lt;br /&gt;
We are trying to utilize a virtual directory (on a remote server) with our asp.net application and it is not working.  (IIS 5) &lt;br /&gt;
&lt;br /&gt;
Using http and web pages is no problem getting to the VD, but not through the .net application.&lt;br /&gt;
&lt;br /&gt;
It works with virtual directories pointing to local files but not remote.  Is this even possible??  Have you done it?  &lt;br /&gt;
&lt;br /&gt;
I am wondering if I am using incorrect code to call the directory... it seems to resolve the VD as a physical directory and not find it???&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
/Turbot&lt;br /&gt;
&lt;br /&gt;
</description></item><item><title>Dynamic Hyperlink and EventHandler</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=104&amp;key=R541Z5aku8QA9j1L1OuVgw%3d%3d&amp;post=4871</link><pubDate>Mon, 10 Oct 2005 09:17:33 GMT</pubDate><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Just passing through, but thought I'd reply to the last post:  &lt;br /&gt;
&lt;br /&gt;
To add a hyperlink to a datagrid hyperlink column, use the DataNavigateUrlFormatString property set to =&amp;quot;mailto:{0}&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
This will give you a clickable mailto link.  </description></item><item><title>about AddParsedSubObject method</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1533&amp;key=dt4nOyf2wq5O7KXJJk5SPg%3d%3d&amp;post=4745</link><pubDate>Fri, 23 Sep 2005 09:32:15 GMT</pubDate><description>All blocks of static html are turned into literal controls, so you typically have the html/head/title/meta/body tags before the server form that become the first control, then the server form, and after the server form the closing body/html tags.  Note that controls are hierarchical, so you usually only see those three controls at the root level, and then all the other controls (including static html again) are similarly parsed and made sub-controls of the server form.  Finally, blocks of static html that are larger than some amount determined by the runtime are turned into ResourceBasedLiteralControls instead of the standard LiteralControls -- and once you removed enough of that static html (meta tags in your case) you end up with a small enough block to be treated as a standard LiteralControl.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>about AddParsedSubObject method</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1533&amp;key=dt4nOyf2wq5O7KXJJk5SPg%3d%3d&amp;post=4744</link><pubDate>Fri, 23 Sep 2005 08:58:35 GMT</pubDate><description>Hi,&lt;br /&gt;
I am just trying to get know in detail about asp.net page life cycle. When AddParsedSubObject Method is debugged the first control that is passed to this method is of type &lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;System.Web.UI.ResourceBasedLiteralControl&amp;quot; but when I remove the meta tag elements in the &amp;quot;&amp;lt;HEAD&amp;gt;&amp;quot; tag of the aspx page the first control that is passed to this method is of type &amp;quot;LiteralConrol&amp;quot;. Why is this so ?&lt;br /&gt;
&lt;br /&gt;
And why is this control the first control why not the control &amp;quot;System.Web.UI.HtmlControls.HtmlForm&amp;quot;. I am sorry to ask such a basic question. I tried to find anser on google and did sufficient search to find the answer but could not find help on this.&lt;br /&gt;
&lt;br /&gt;
Any kind of information about this will be helpful. &lt;br /&gt;
&lt;br /&gt;
Thank you for your time.&lt;br /&gt;
Srinivasa Telukutla.</description></item><item><title>Problems with IsAuthenticated</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1530&amp;key=32i%2bTO7eDCTcjmoqyCcXew%3d%3d&amp;post=4736</link><pubDate>Thu, 22 Sep 2005 18:56:24 GMT</pubDate><description>Nothing immediately comes to mind.  Can you post authentication and authorization sections from web.config, and anything else that might be relevant?&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Problems with IsAuthenticated</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1530&amp;key=32i%2bTO7eDCTcjmoqyCcXew%3d%3d&amp;post=4731</link><pubDate>Thu, 22 Sep 2005 13:43:32 GMT</pubDate><description>Hello, Mr. Wilson!&lt;br /&gt;
I have a Web Application where there are some pages you need to log in to see theirs contents.&lt;br /&gt;
I use the 'forms' authentication mode.&lt;br /&gt;
The code for the handler of the click event on the buttom of the form is like this:&lt;br /&gt;
 if (FormsAuthentication.Authenticate   (TBoxIdUser.Text,TBoxPassword.Text))&lt;br /&gt;
     FormsAuthentication.RedirectFromLoginPage(TBoxIdUser.Text,ChBoxRememberPassword);&lt;br /&gt;
&lt;br /&gt;
Ok, I click the buttom and the 'if' condition results in 'true', so, the pair Id and Password is right.But when the 'default.aspx' is loading again, the 'Page.User.Identity.IsAuthenticated' property, in the 'Page_Load' method, results in 'false' and these pages are not available.&lt;br /&gt;
&lt;br /&gt;
Do you have any idea?&lt;br /&gt;
&lt;br /&gt;
Thanks a lot,&lt;br /&gt;
   M&amp;#243;nica Rubio.</description></item><item><title>Implementing WilsonORMapper in ASP.Net</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1415&amp;key=kmLlFYJhx3GXXFXFnrCzEw%3d%3d&amp;post=4390</link><pubDate>Thu, 18 Aug 2005 12:40:23 GMT</pubDate><description>Nevermind, for some weird reason, it is working now.  </description></item><item><title>Implementing WilsonORMapper in ASP.Net</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1415&amp;key=kmLlFYJhx3GXXFXFnrCzEw%3d%3d&amp;post=4389</link><pubDate>Thu, 18 Aug 2005 07:57:07 GMT</pubDate><description>That sounds like the ObjectSpace was not initialized correctly, so referring to any method of Global.Manager will result in that exception.  I'll need to at least see your initialization code -- preferably the entire Global.asax file.  It may also end up being just that your mapping file is not where you say it is (path not correct or accessible from the web app, or type of embedded resource incorrect) -- that's very common, especially in web apps.  If that's the case, then I probably need to see the entire solution/project to know where/how your mappings are setup.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Implementing WilsonORMapper in ASP.Net</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1415&amp;key=kmLlFYJhx3GXXFXFnrCzEw%3d%3d&amp;post=4388</link><pubDate>Thu, 18 Aug 2005 07:28:02 GMT</pubDate><description>I saw the example of how to implement your product in a windows application, but I am still a little lost on how to implement it in a web application.  &lt;br /&gt;
&lt;br /&gt;
For example, I put your initialization code in my Global.asax file inside of the Application_Start method.  Then I tried to test a simple persistance of a new Member object I create following your example.  I already set up the xml mapping files as well.  I got an &amp;quot;Object reference not set to an instance of an object&amp;quot; on the following line.  &lt;br /&gt;
&lt;br /&gt;
//  GOT THE ERROR ON THIS LINE&lt;br /&gt;
BL.Member member = (BL.Member) Global.Manager.GetObject(typeof(BL.Member));&lt;br /&gt;
&lt;br /&gt;
//  BELOW IS THE REMAINING CODE...&lt;br /&gt;
member.Username = &amp;quot;Tester&amp;quot;;&lt;br /&gt;
member.Password = &amp;quot;test&amp;quot;;&lt;br /&gt;
member.RegistrationDate = DateTime.Now;&lt;br /&gt;
&lt;br /&gt;
Global.Manager.PersistChanges(member);&lt;br /&gt;
&lt;br /&gt;
Response.Write(member.ID);</description></item></channel></rss>