Search

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

Matching Posts

  • Re: Object reference not set to an instance of an object. How to see which object , learn object id or name or specific info

    Have you made the changes to web.config, re-published to the server and seen the error again (this time the line numbers should be present)?
    Posted to Getting Started (Forum) by Mr^B on 11/24/2009
  • Re: Error Handling Problem

    Hi, You're making a classic mistake when dealing with error handling. You either: a) handle the error b) don't handle the error What you are doing is both - you are trying to handle the error AND throw the error. You must decide which you want to do. If you throw an error, that's it, the end of the function (except what's in the ...finally clause, this ALWAYS runs). Any code after the exception has been thrown/re-thrown is ignored. You can't return an exception AND return a string
    Posted to Getting Started (Forum) by Mr^B on 11/22/2009
  • Re: Err: variable " xxx " is assigned but its value is never used

    Why are you creating variables which you don't use? The warning is there because you are unecessarily wasting memory space by creating something that you don't actually need.
    Posted to Getting Started (Forum) by Mr^B on 11/21/2009
  • Re: asp.net with SQL Server or Oracle

    In real terms, there isn't a huge difference between the two. Oracle and SQL Server specialists will no doubt pipe up with some differences or other - but for 99% of the time they functionality they provide is the same. Here's an article regarding the differences: http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm
    Posted to Getting Started (Forum) by Mr^B on 11/20/2009
  • Re: when to use struct data type

    Interesting reply. Nothing at ALL to do with struct though. A struct should be used for a very small, lightweight object - this is becase a struct is a value type and a class is a reference type. Simply put. If you have a large object, which has lots of fields, properties, methods, etc, then use a class. If you have a small object, with a few properties, then consider using a struct because it'll be more efficient.
    Posted to Getting Started (Forum) by Mr^B on 11/19/2009
  • Re: How to build a huge site with lot of visitors

    How many vistors are you expecting? Will they all see the same pages or are they created for each individual users? A couple of points to note: 1. Database access/Filesystem access will ALWAYS be the bottleneck. Always. Never pre-optimize anything else before dealing with these issues. 2. Once you've done that, the next performance bottleneck will be LINQ, as it is designed for syntactic clarity, rather than performance, the lambda expressions all use the concept of anonymous delegates to work
    Posted to Getting Started (Forum) by Mr^B on 11/19/2009
  • Re: How to build a huge site with lot of visitors

    OK, so it's not actually that many then (3,500 a day is about 2-3 a minute). I'd code it however you want to as a first go, then deal with performance problems as and when they occur. http://en.wikipedia.org/wiki/Program_optimization#When_to_optimize
    Posted to Getting Started (Forum) by Mr^B on 11/19/2009
  • Re: How to build a huge site with lot of visitors

    [quote user="Jelmer850i"] Thats right, but it are unique visitors, so 1 visitor can view a page 10-20 times! [/quote] It's still relatively small. Code it first, then run it through a stress test and THEN worry about the performance. Without doing that you can't see where the bottlenecks are going to be.
    Posted to Getting Started (Forum) by Mr^B on 11/19/2009
  • Re: Error handling in asp.net 3.5

    [quote user="Rajnish Kaur"] Hi All what is the best possible approach for handling in asp.net 3.5 both in the class files and Presentation layer. Like ,it is beleieved that try catch should not be used. what is the adquate approach to tackle error ! [/quote] Why shouldn't you use try...catch ? If you can deal with an exception and provide a "pleasant" user experience for the exception, then you should do so. Possibly even logging the exception to a log file or event log at
    Posted to Getting Started (Forum) by Mr^B on 11/19/2009
  • Re: Is there anything that needs to be done client side for system.net.mail ?

    System.Net.Mail works ONLY on the server, not on the client. They could browse to it using Lynx on Redhat and it would still work!
    Posted to Getting Started (Forum) by Mr^B on 11/19/2009
Page 1 of 217 (2169 items) 1 2 3 4 5 Next > ... Last »