syedtayyabali

Stories submitted by syedtayyabali

Serialization/Deserialization (programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 11 months, 21 days ago

Serialization is the process of converting object into linear sequence of byte, while deserialization is constructing object from that serialized linear sequence of byte. read more...

add a comment |category: |Views: 3

tags: another

System.String Vs System.Text(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 10 months ago

Strings of type System.String are immutable (read-only) in .NET because its value cannot be modified once it has been created. That means any change to a string causes the runtime to create a new string object and abandon the old one. That happens invisibly. Following code allocates three new strings in memory: Example: string str = "This is Programming360 Blog. "; str += "It educate technical communities. "; str += "It believes, one concept at a time..."; Only the last string has a reference; the other two will be disposed of during garbage collection. Avoiding these types of temporary strings helps avoid unnecessary garbage collection, which improves performance. There are several ways to avoid temporary strings: * Use the String class's Concat, Join, or Format methods to join multiple items in a single statement. * Use the StringBuilder class to create dynamic (mutable) strings. The StringBuilder solution is the most flexible because it can span multiple statements. The default constructor creates a buffer 16 bytes long, which grows as needed. You can specify an initial size and a maximum size if you like. Example: System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("This is Programming360 Blog. "); sb.Appen("It educate technical communities. ";); sb.Appen("It believes, one concept at at time..."); read more...

add a comment |category: |Views: 24

tags: another

Some Advantages to Using Stored Procedures(wijix.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

Syed Ali discussed stored procedures and why use them. I posted my comments there but thought it was worthy of an entry in the blog. There are some things I hate about them as well but I feel they have some very distinct advantages too so they are a necessary evil. I don't see how you can argue against stored procedures. There are drawbacks just as there is with any technology but the advantages outweigh the disadvantages. read more...

add a comment |category: |Views: 14

tags: another

ACID Properties(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

To ensure integrity of the data, we require that the database system maintain the following properties of the transactions(these properties are also called ACID properties of a transaction.) read more...

add a comment |category: |Views: 5

tags: another

Some thoughts on Stored Procedure(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

I read Paul Nielsen post on stored procedure. According to him stored procedures are good for application. He is not only talking about logical or business process stored procedure, but he also encouraged to developer for CRUD stored procedures. I think, it is good idea. There is no harm to use them. If database server have that capability, then why not CRUD stored procedures. read more...

1 comment |category: |Views: 18

tags: another

Regional Conflicts(wijix.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

We have all come to love our IDE features and take them from granted nowadays. Features like intellisense, code-complete, refactoring and code organization and of course the use of Regions. The #region and #endregion keywords basically provide the ability to hide code and collapse it into a short word or phrase provided at the beginning of the block with the IDE showing a plus sign to expand and collapse the region. Eg: #region Public Methods #endregion read more...

add a comment |category: |Views: 11

tags: another

Data Access Layer Design Considerations(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

To help ensure that data access in your application is optimized for performance, there are several issues that you must consider and a number of decisions that you must make at design time: * Design your data access layer based on how the data is used. * Cache data to avoid unnecessary work. * Connect by using service accounts. * Acquire late, release early. read more...

add a comment |category: |Views: 35

tags: another

Extension Methods(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

Extension Methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. Extension methods are a special kind of static method, but they are called as if they were instance methods on the extended type. For client code written in C# and Visual Basic, there is no apparent difference between calling an extension method and the methods that are actually defined in a type. read more...

add a comment |category: |Views: 4

tags: another

[Quick Tip] Session(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 2 years, 11 months ago

During the development of Asp.Net application, developer don't need to instantiate any session. Session is automatically instantiated, you need to use them according to your requirement. Here, I am going to show you one simple example. read more...

add a comment |category: |Views: 16

tags: another

Structure(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years ago

Structure is a lightweight class in C#. The following list details the differences between structures and classes. read more...

add a comment |category: |Views: 11

tags: another

Global.asax(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years ago

The Global.asax file(the ASP.NET application file) contains code for responding to application-level and session-level events raised by ASP.NET or by HTTP modules. read more...

add a comment |category: |Views: 14

tags: another

void pointer(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years ago

Pointer to void (void *) is a generic pointer capable of representing any pointer type. All pointer types can be assigned a pointer to void without casting. read more...

add a comment |category: |Views: 8

tags: another

Unraveling the Mysteries behind the favicon.ico(wijix.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years ago

Ever wonder how some sites can have a cool icon in the top corner of the browsers, and yours only has the default browser icon read more...

add a comment |category: |Views: 14

tags: another

Software Engineering and Ethics(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years, 1 month ago

Software is the core for any computer–based system, which affect all aspects of our life. Software development is a complex, expensive, and ethical engineering task which requires qualified SWE professionals. Ethical and professional principles for software engineering professionals were adopted by professional committees such as IEEE and ACM. read more...

add a comment |category: |Views: 9

tags: another

System.Object(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years, 1 month ago

All .Net types are derived from System.Object. Therefore every object of every type has a minimum set of method from System.Object class. read more...

add a comment |category: |Views: 7

tags: another

What Causes Application Restart(programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 3 years, 1 month ago

ASP.net run-time environment implements a good deal of checks and automatically restarts an application. read more...

add a comment |category: |Views: 12

tags: another