Search

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

Matching Posts

  • Re: Switch to LINQ or not?

    I am aware that LINQ allows approaching a goal with less lines of code. But the performance cost is also important to me. Specially if I am going to use ADO.NET entities framework, that is LINQ to entities, it will result in the use of datasets and other expensive operations. Also if you want to use every feature, it seems that you are better not use stored procedures as the framework must be able to create SQL commands on demand.
  • Switch to LINQ or not?

    I am in charge of designing and managing the back-end for a learning management system(LMS). We use 3-tier architecture. Currently, we are using custom business objects and using ADO.NET in DAL. Since the project is still in an early stage, I am considering moving to LINQ. But there things that prevent me from doing so: Since data representation for application is slightly different from the actual data model on the database, we'll have to use LINQ to entities which will provide us with both
    Posted to Data Access and ObjectDataSource Control (Forum) by lordfkiller on 10/27/2009
    Filed under: linq performance
  • Re: What does ParseChildrenAttribute do?

    Well, I removed the attribute and that property was no more set. Seems that MSDN is right.
    Posted to Custom Server Controls (Forum) by lordfkiller on 3/20/2008
  • What does ParseChildrenAttribute do?

    What does ParseChildrenAttribute(True) do in a templated control? Exam 70-528 training kit says that it tells parser not to parse nested tags as control properties and parse them as controls. But MSDN says it dictates the parser that nested tag should be parsed as properties(the opposite!) Thanks for any help.
    Posted to Custom Server Controls (Forum) by lordfkiller on 3/19/2008
  • Re: Cannot Understand ViewState Role!

    In a page with a DataGrid and a TextBox, when is ViewStated created? In first response and by the server, or in first post-back and by client? Please explain, if you would.
    Posted to State Management (Forum) by lordfkiller on 12/11/2007
  • Cannot Understand ViewState Role!

    Hi all. Recently I read in a book that when we submit a form and see submitted values in the new page(response), that is, our changes are maintained, this is the ViewState that does this. But when a form is submitted, all field values are sent to the server and it can use them when rendering response HTML. So what is ViewState role here? Thanks for any help.
    Posted to State Management (Forum) by lordfkiller on 12/11/2007
  • Re: HttpModule not working with asynchronous post-back

    You are right. But events that fire before PostAcquireRequestState do not work for me as I need to set a filter stream. Even though I still prefer to do everything in the module, I have implemented Page class and set the filter in Load event. It is working well now. By the way, I have already tried EndRequest event. It did not send contents through the filter at all. Thanks for your help Raymond ;) Regards, Farshid
  • HttpModule not working with asynchronous post-back

    I have created an HttpModule which in PostRequestHandlerExecute event, corrects image URLs, links etc. But when using UpdatePanel, this handler is not called in post backs. As a result, new contents are not shown correctly(wrong URLs). Without using AJAX, this handler is called in post-backs and everything is good. Does anybody know the solution?
  • Which permissions does CompositeControlDesigner need?

    I have created a Web custom control that uses CompositControlDesigner. Permissions granted to the assembly are limited using a SecurityAction.RequestOptional, therefor, all required permissions have to be declared. Although I have granted all permissions needed(and even those not needed), the designer does not work (VS 2005). I tried declaring all permissions in System.Security.Permissions and System.Web I knew, however, it still does not work until I remove all declarative permissions with SecurityAction
    Posted to Security (Forum) by lordfkiller on 8/20/2007
  • Re: Why doesn't Request.QueryString NameValueCollection behave like other NameValueCollections?

    Okay. Agreed. No need to use sarcasm Although creating an HttpRequest from the scratch and implementing Page and adding a new property for Request works in my case, but there will be still some problems with this approach. In other words, even though I have implemented Uri to work correctly with the new URL format, sill many parts of .NET like "trace" cannot parse it correctly. With URL rewriting, all those issues are gone. Thanks for taking time to help me ;) Regards, Farshid
    Posted to Getting Started (Forum) by lordfkiller on 8/18/2007
Page 1 of 10 (94 items) 1 2 3 4 5 Next > ... Last »