Hi all, I'm struggling on how to set this up. I'm going to be building a web app that will be on our intranet (Active Directory security) to support some business function. Though there is a need to have external users get to the app from outside the intranet. For the sake of getting it out quickly, I'm thinking about just doing the intranet app minus external use. What kind of things should I be be looking for if I tack on the external use feature after I finished with the main app? Should I be just including it from the start? We also have Sharepoint 2003 which I'm strongly considering using since it already has links to outside our network. The downside to using Sharepoint is that I've never done anything in Sharepoint so the time factor goes up (learning and what not). Thanks, Keith
Keith Andersch
Posts
-
Tacking on external use to an intranet web app -
A little F# for youOh...I remember this. In my Programming Languages class when we did ML....*shivers* Right when I saw "head::tail" and the recursive call. I would like to see a whole application written in this, though. - Keith
-
PS3 or Wii ?I would say, go with your budget. If you have the dough to drop on a PS3, do it. There are some games on PS3 I want to play, but my wallet laughs at me. :(( -Keith
-
Command Line WebDAV clientHi all, I'm wondering if anybody has found/used any good WebDAV CLI client that supports HTTPS. I'm having to get files on a webdav server and there's no way that I'm going to be manually getting those things. This system already has too much human intervention (not by my choice I can assure you) so I'm looking at any automatic possibilities along the data route. I've been dabling in Python and saw there's a library that does WebDAV but rolling my own, while fun and exciting, adds time and probably complexity to the whole thing. Oh yeah, should run on Windows 2003/XP. Thanks Keith
-
Design patterns, any good books?I'm just about done with that book. Just haven't brought myself to finish the chapter on the Model-View-Controller pattern. :P It is geared for Java though. But I totally agree. It's a book that keeps me interested and that's pretty great in a sea of tech manuals that are dry as the Sahara. Keith
-
Page_LoadComplete for User ControlsDoes the LoadComplete event get skipped for User Controls? I've hit this issue and worked around it for the most part but now it's just plain getting annoying. Is there an equivalent event for user controls? Thanks, Keith
-
moving files to UNC shareOk, so the moral of this story, use a domain account to run your asp.net process when you need to access network resources on the same domain. Well, that's the moral I used anyway. If anybody has other solutions to this, I'd like to hear them too. Here's an article for asp.net 1.1 which I took bits and pieces of to get the solution working http://msdn2.microsoft.com/en-us/library/aa302396.aspx[^] Keith
-
moving files to UNC shareHi all, I'm having problems trying to move a file from my IIS server to a unc share on the same domain. I know it all boils down to a permission issue (the bane of my existence). I'm running IIS 5.0 (in production) and 5.1 (in test). I have impersonate set to true in web.config. Most everything else is pretty much default including the ASPNET account running the worker process. I know I have read/write permission in the share. I've even gone as far as to slip an WindowsImpersonationContext around the move code only to get the same Access denied error. I found this article[^] about Kerberos delegation which sounds like it could work but I wouldn't be able to give delegation rights to. Do I need to run the worker process under a domain account instead of the local ASPNET account? Has anybody else have this kind of issue? Keith
-
The Session, Master Pages, and youHi all. I have a web app which uses master pages. Whithin the master page, I declare some session variables. I use these session variables in the content pages. Of course, before I use the variables in the content pages, I check to see if they are null and act accordingly. This, for the most part, works. However, a few users will tend to leave their windows open for more than 20 minutes, killing the session. They try to go somewhere else in the web app and gets the nice exception is thrown because the session variables are null. (I redirect the exceptions to a nice looking error page) I'm starting to think that having the session variables declared in the master page is a bad choice on my part. In my readings of Asp.Net, I found that the content pages are created first and then the master pages which is probably leading to the session vars not being reloaded in time. Has anybody else seen this issue? Is there a simple workaround or am I gonna have to bite the bullet and do some redesigning? Keith
-
Losing Session IDI think it depends on what kind of session storage is being used: passing the session ID through the URL or using cookies. I want to say the cookie method is default. I have some session variables declared with everything at default. When I open up the developer toolbar in IE 6, I can clear the session cookies. That will effectively grind my application to a halt on the next postback. I can't find where the hell this session ID is so I can't say without a doubt that's what is going on.
-
object to long castJust to cap this off, whatever the problem was became fixed after doing a iisreset. I discovered this on accident while attempting to get remote debugging running. So one problem down, one to go.
-
object to long castAn update. I tried to precompile the whole site and making the offending class a dll by itself. Both options give me invalid casts still. Is there additional compilation going on? It just seems to work everywhere besides inside the asp.net worker process for Win2000...
-
object to long castHi all. I have this vexxing problem which showed up when I moved from my dev/test box to a production server. What I'm trying to do is get the pwdLastSet property from Active Diretory. I'm using a DirectorySearcher object to get the pwdLastSet property. Once you get the property, you can cast the data to a long to get the total ticks since 1970. This works like a dream on my XP/IIS 5.1/ASP.Net 2.0 box. Once I moved it out to the Windows 2000/IIS 5.0/ASP.net 2.0 production server, the casting fails. It is my understanding that the DirectorySearcher object is supposed to marshall the data from Active Directory into something that's easier to use. I see this being done in my debugging sessions on my dev box. I would love to setup a debugging session on the production server, but that's a whole other set of issues. I do notice though if I take that whole class where the error is happening, put it into a simple C# windows app, compile it on my dev box, it will run correctly on the production server. I'm thinking that when it gets compiled on the production server, the marshalling doesn't happen corretly. I'm now leaning towards sticking the offending code into a dll. Has anybody else seen this type of issue? Is there some compile time flags that can be set? Keith
-
Order of operations and Short circuitwow, no short circuting of booleans, eh? So (X > 0 AND Y < 3), if x is -1 it will still evaluate y < 3? That's crazy! On doing the updates, I kind of figured that. I'm not too familar on what goes on behind the scenes like if it locks the whole record or locks at the field level. I can work with both these issues and will be good to know for the future. Do you know if this is any different in SQL Server 2005? I know my company will be upgrading here sometime in the future ( I have seen the install discs with my own eyes). I just hope that whatever I have done will be easy to port over. :( Best Regards, Keith
-
Order of operations and Short circuitHi all, I have a couple of questions that I hoping someone will know off the top of their head regarding SQL Server 2000. 1) Is there a short circuit mechanism in the if/case program controls? I would think so but logic doesn't rule the day unfortunatley. 2) In an update statement, is it necessarily true that a field will be updated in the order it was presented in the update statement? Best Regards, Keith
-
Querying multiple subclassed tablesI totally agree about the maintenance issue that arises from having so many subclassed tables in such a query. I began to explore a different path and ended up not going with huge query that you suggested. I'm trying my "bestest" to do an n-tier approach and that huge query didn't fit right with what I had. Though who knows if I'm doing it close to right. lol Thanks again. Keith
-
Querying multiple subclassed tablesThanks, Andy. That seems to do the trick. I'm curious though, as you add subclassed tables, would performance degrade significantly? I'm using SQL Server 2000. I'm not too worried about performance right now but it's something that would be good to know. Thanks, Keith
-
Querying multiple subclassed tablesHi all, Here's a situation. I have table A which has several subclassed tables, say A1, A2, and A3. Table A has a primary key named foo which will only exist once in one of the subclassed tables. Now, I want to do a select statement to grab foo from table A and where ever it might be in the subclassed tables. Is it possible to write a single select statement instead of having to write 3 seperate select statements to get to the subclassed data? Thanks, Keith
-
Seeking adviceAhh yes...it's all about the vocab. *sigh* I'll do some more searching. In fact, I already found some good things...hopefully. Thanks.
-
Seeking adviceHi all. I am wondering what you all think about this design issue. I have a page where a few things are static and one part, essentially another page, of it will be inserted when a choice is made in a combo box. The inserted portions contain static controls(text boxs, labels, drop down, etc...). I've seen this done on other websites but can't find any tutorials on how to do this. So I've thought of a couple of ways to go forward. One, I can create a user control for each inserted item, which there could be 10+ of, and register all of them on the page. Two, I can create classes which inherit from Panel for each item, programmatically add in each field into the panel at construction of the class. In either case, it could be pasted/created in when needed (on selection in the combo box). I would prefer the user control route but I'm not sure about the impact on performance of registering 10+ controls on a page will have. The class route will be more tinkering. I'd love to hear any kind of input on this. A link to a tutorial on how to do it would be good too. :) -Keith