Search

You searched for the word(s): userid:708255

Matching Posts

  • Re: specify port number in web config

    This is quite nifty as a batch file as well: start /MIN C:\\pub\\WebDev.WebServer.EXE /port:8888 /path:"C:\Trunk\Web" /vpath:"/Web
    Posted to Configuration and Deployment (Forum) by bbaxter on 10/30/2009
  • Re: specify port number in web config

    That's true, you can create this behavior through the project (in my case, a web application) properties. Though here is a good example of how to explain it: - Right click on the project - Select 'properties' - Select the bottom tab 'Web' - Select the radio button 'Specific Port' But this isn't what I need in my case. I need to do it through the web.config. Thanks
    Posted to Configuration and Deployment (Forum) by bbaxter on 10/23/2009
  • De-bugging javascript

    Hi, I have a web application project with some simple javascript at the top of my aspx page. When I click to the right it places a breakpoint with a little diamond in the center, but when I run the project and hit the javascript, it never stop at the breakpoints. Does anyone know what I can do to actually step through the javascript? Thanks
    Posted to Client Side Web Development (Forum) by bbaxter on 10/22/2009
  • specify port number in web config

    hi, Does anyone know how I specify the port that my project builds to in the web config? for example, if I want to always build to localhost:1000, where can I apply this to the config file?
    Posted to Configuration and Deployment (Forum) by bbaxter on 10/22/2009
  • get value fields from querystring

    Hi, I would like to pull any values from the querystring that are called custom## and put them in an dictionary. For example, if the querystring is www.google.com?custom1=blah&custom2=nah&custom3=heyo Then I should have and array of [(custom,blah), (custom2,nah), (custom3,heyo)] but for the life of me, I don't know how to approach it. does anyone have any ideas? maybe reqular expressions.... eck. Thanks
    Posted to Getting Started (Forum) by bbaxter on 10/21/2009
  • Re: get value fields from querystring

    Ahh, thank you google. Found httputility works wonders. NameValueCollection nvc = HttpUtility.ParseQueryString(QS); foreach (string key in nvc.Keys) { if (key.StartsWith("custom")) { vals += "&" + key + "=" + nvc[key]; } }
    Posted to Getting Started (Forum) by bbaxter on 10/21/2009
  • Re: Include class in WCF service

    Thanks, Adding KnownType above the WCF class (but not the interface) worked for me.
    Posted to XML Web Services (Forum) by bbaxter on 10/12/2009
  • Re: Include class in WCF service

    There has to be a way to do this. The equivalent in a traditional web service is [XmlInclude(typeof(MyClass))] Since WCF is supposed to be more powerful, I would be suprised if this functionality was removed!
    Posted to XML Web Services (Forum) by bbaxter on 10/9/2009
  • Include class in WCF service

    How do I include a class in a WCF service that isn't directly used in the Contract? I've tried putting [KnownType(typeof(MyClass))] and [XmlInclude(typeof(MyClass))] right above the class for the service, and also doing the xmlinclude in the Interface, but my service still doesn't contain the class. If I put a test function in the service that contains MyClass in the arguments, then MyClass is pulled in, but that's kinda hack-y. Anyone know?
    Posted to XML Web Services (Forum) by bbaxter on 10/8/2009
  • Using validation with a class

    I have a simple class Employee that I would like to validate using attributes, but I'm not sure how to write the Validate function: public class Employee { [NotNullValidator] public string name { get; set; } [NotNullValidator] public int accountNo {get; set; } public void Validate(ValidationResults R) { ??????????????????? } } Can anyone give me some guidance on what my Validate function should look like?
    Posted to Getting Started (Forum) by bbaxter on 10/2/2009
Page 1 of 43 (423 items) 1 2 3 4 5 Next > ... Last ยป