Search

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

Matching Posts

  • Re: Abstraction vs Encapsulation

    Derriving will be quite the same for both cases. The only difference - compiler will force you to override abstract method or otherwise make your derrived class abstract as well
    Posted to C# (Forum) by ArtemL on 11/20/2007
  • Re: boxing and unboxing

    [quote user="Ronnie Lobo"]Hey Iqbal, I just want to know the real world example where i can put this boxing/unboxing concept..[/quote] This action is taking place behind the scene by the .Net Runtime, you can't do anything here. What you can is, by knowing how compiler behaves, make your code more efficient. Means, that boxing and unboxing operations are degrade code performance, so that we do need to avoid them as much as possible. Little example object i1 = 1; // i1 holds reference
    Posted to Web Forms (Forum) by ArtemL on 8/28/2007
  • Re: Cant get website deployed, cant see the errors!

    First of all, it is recommended not just do a copy of site but rather to "publish" web site. Second, if you don't see any error then what you see? Are you sure you don't see a long running action taken place (e.g. incorrect database connection settings might cause system to perform several tries to connect - it might take a bit of time ) so that you see blank screen? Or, take a look what status code gets returned by your page, maybe IIS doesn't handle this request correctly
    Posted to Configuration and Deployment (Forum) by ArtemL on 8/27/2007
  • Re: Does a WS compile first time a web method is called ?

    [quote user="SteveNutt"] I know that an ASP.Net application compiles the first time a user requests a page and I'm assuming that after the last session has timed out, a web app "goes to sleep" until the next time a page is requested. [/quote] web app has a idle timeout for recycling and ending the process. But the next time the page will be requested nothing additional gets compiled as all needed binaries are still in system cache. So that, process just get started again.
    Posted to XML Web Services (Forum) by ArtemL on 8/27/2007
  • Re: Session ID regeneration

    How I supposed to do that? Do I need to configure smth. in web.config for that?
    Posted to Web Forms (Forum) by ArtemL on 8/27/2007
  • Re: Open File

    U don't have to create web user control but windows forms one. What you have to do is to have separate project DLL which is marked as Com registered and Windows.Forms.UserControl class in there. That user control should be marked with ComVisibleAttribute. Then build this project and com class (your user control) should be registered as ActiveX. From now you can use it on your aspx page. Place <object> tag with appropriate attributes set.
    Posted to Web Forms (Forum) by ArtemL on 8/7/2007
  • Session ID regeneration

    Hi folks! I just can't understand how and when asp.net runtime generates new session id for expired/abandoned session. MSDN says: Session identifiers for abandoned or expired sessions are recycled by default. That is, if a request is made that includes the session identifier for an expired or abandoned session, a new session is started using the same session identifier. You can disable this by setting regenerateExpiredSessionId attribute of the sessionState configuration element to true I have
    Posted to Web Forms (Forum) by ArtemL on 8/7/2007
  • Re: Unable to cast object of type 'System.Web.UI.Page' to type 'CareAlways.UserControls.PageBase'

    Then it looks like your page is not derived from your PageBase, it's derived from common System.Web.UI.Page. Make sure you specified proper Inherits in aspx code
    Posted to Web Forms (Forum) by ArtemL on 8/7/2007
  • Re: Open File

    You should create a .Net Library with user control class marked as COM and place it on the page like a common ActiveX via <object> tag. In that user control you're able to do everything you could do in win forms programming, e.g. call common OpenFileDialog.
    Posted to Web Forms (Forum) by ArtemL on 8/7/2007
  • Re: Open File

    This is not possible by using common client side functionality due to security restrictions. What you can do is to create ActiveX control (can still be done using .net) and place it on the page, this probably will give you what you need
    Posted to Web Forms (Forum) by ArtemL on 8/6/2007
Page 1 of 25 (249 items) 1 2 3 4 5 Next > ... Last »