Friday, February 4, 2011, 11:37 AM - .Net
Posted by Administrator
The name shows its meaning, it’s for dynamic languages. So what are these languages, these are Iron Python, Iron Ruby etc. This also enables .net language like c# to take the advantage of dynamic typing capabilities. It is a runtime running on the top of CLR. Before we look into further, we need to have little knowledge on the two types of languages. Posted by Administrator
1. Statically typed
2. Dynamically typed
Statically type means type checking happening on the compile time. Here we can look another term strong type and weak type. Strong type makes sure the types are correctly mixed and matched. C# is strongly typed. Weak type is reverse of this and Perl is one of the examples for the weakly typed language.
Dynamically typed languages are those where majority of the type checking process is done at run time
So the above dynamism is approved in .net 4. DLR contains three major process features which are Dynamic Dispatch, Call site caching and Expression trees. These will help to implement the dynamic features.




( 3 / 128 )
Tuesday, February 1, 2011, 05:04 PM - .Net
Posted by Administrator
ASP.NET 4.0 brings different output caching using one or more custom output-cache providers. These providers can use any storage mechanism to persist HTML content. This allows creating custom output-cache providers for diverse persistence mechanisms, which can include local or remote disks, cloud storage, and distributed cache engines.Posted by Administrator
The custom output-cache provider class needs to derive from the new System.Web.Caching.OutputCacheProvider type. Configure the provider in the Web.config
file by using the new providers subsection of the outputCache element, as shown in the following example:
<caching>
<outputCache defaultProvider="AspNetInternalProvider">
<providers>
<add name="DiskCache"
type="Demo.OutputCacheEx.DiskOutputCacheProvider, DiskCacheProvider"/>
</providers>
</outputCache>
</caching>
Friday, January 21, 2011, 12:51 PM - .Net
Posted by Administrator
In my close look at the ASP.Net view state, I got new (for me) information that we can handle the view state in server session. This will improve the page load and submit delays. ASP.NET 2.0 providers manage almost every aspect of the execution of the session view state framework. That is great news where we don’t need worry about the session handling. Posted by Administrator
In order to implement this you have to override the PageStatePersister and added to the page where you need to handle view state in session.
Step1
protected override PageStatePersister PageStatePersister {
get {
return new SessionPageStatePersister(this);
}
}
Step2
The above code not adds the control state to session. To add control state also, please add the following to web.config.
<system.web>
<browserCaps>
<case>
RequiresControlStateInSession=true
</case>
</browserCaps>
</system.web>
Hope this helps someone.
Thursday, December 2, 2010, 03:57 PM - .Net
Posted by Administrator
One of the reason for this issue may occure when we copy this project to another machine or upgrade. In this case you will receive errors where CrystalDecisions.Enterprise.Framework,Posted by Administrator
CrystalDecisions.Enterprise.InfoStore missing. Normaly we will try to referit again from the add rerence but you cant see such files. But when you look into the GAC, you will suprise to see the same dll over there. This two dlls are automaticaly added to referece when we add the the crystal datasource from the Visual studio and try to add a new report, this will add these dlls(for web project). For the windows project when you just add the reportviewer to the form will add these dlls. After doing this you can remove these datasource or report viewer, the dll will be stayed there.
Hope this resolved the issues.
Monday, June 7, 2010, 12:39 PM - General
Posted by Administrator
Sandy Bridge is Intel's next microarchitecture, or redesign, of its processors. A chip revamp is the single biggest undertaking for Intel. And it happens every two years. The current design, Nehalem, was introduced in November of 2008 and it pervades all Core i3, i5, and i7 processors (the latter two finally made it into Apple laptops on recently). Its successor, Sandy Bridge, is scheduled to go into production in the fourth quarter. Posted by Administrator
Few points
• More efficient: the central processing unit, or CPU, delivers a "significant improvement in instructions per clock,” meaning that it is more efficient at executing tasks.
• Faster on-chip communication: different parts of the chip will talk to each other faster-- "improved inter-buses."
• Shared memory: on-chip memory called cache is shared between the CPU and graphics processing unit, or GPU.
• GPU now part of CPU: Intel combines the CPU and GPU on the same piece of silicon.
• New instructions: Sandy Bridge will be the first chip to support Intel's Advanced Vector Extension (Intel AVX) instructions. AVX accelerates a host of multimedia tasks, including video and audio processing.
• More intelligent over clocking: and, finally, improved Turbo Boost--which speeds up
AMD Fusion APU
According to AMD, an APU is not just a CPU grafted onto a GPU, but a next-generation processor combining programmable CPU and GPU cores, along with memory, I/O and video controllers. The architecture of the Fusion APU includes the x86 cores and a SIMD (single instruction, multiple data) Engine Array -- traditionally called the GPU -- along with an integrated memory controller and bus joining the two together
The Fusion will ship in two flavors, "Llano" for desktops and "Ontario" for notebook platforms. The Llano platform will sport dual- and quad-core models with some form of ATI Radeon HD 5000 graphics, while Ontario will be a dual-core processor with an extremely low TDP, reportedly able to scale down as low as 1 watt. By incorporating a single integrated die with all of the functionality, AMD's Fusion could be faster, smaller, more energy-efficient, and cheaper to produce.
Monday, May 24, 2010, 09:15 AM
Posted by Administrator
The most common method used for this is shows below. Posted by Administrator
SELECT COUNT(*) FROM tablename
The same can be acheived by using the builtin SP
EXEC sp_spaceused 'tablename'
To get revords counts and its size of all the tables then use following(#Ballpark: because the sysindex table is not updated constantly.)
SELECT
[TableName] = so.name,
[RowCount] = MAX(si.rows)
FROM
sysobjects so,
sysindexes si
WHERE
so.xtype = 'U'
AND
si.id = OBJECT_ID(so.name)
GROUP BY
so.name
ORDER BY
2 DESC
Friday, January 29, 2010, 02:18 PM - General
Posted by Administrator
As web2.0 coming to the end , a general question is what is next. I have queried google got that there is web3 and web4. Let discuss about web3.0. Posted by Administrator
Most of the Technolgy experts thinks that Web 3.0 is a friendly person who will behave like he knows about you and can understand what you want. They also teling that the period 2010 to 2020 will be the web3.0 era.
They are giving a clue that Web 3.0 is a giant database. The major differece with Web 2.0 is it uses the Internet to make connections between people, Web 3.0 will use the Internet to make connections with information.
Some experts see Web 3.0 replacing the current Web while others believe it will exist as a separate network.
so come to what web 3.0 actulay is
Here comes the term "Semantic Web"
"In its current state, the Web is often described as being in the Lego phase, with all of its different parts capable of connecting to one another. Those who envision the next phase, Web 3.0, see it as an era when machines will start to do seemingly intelligent things." - John Markoff, The New York Times
With the Semantic Web, computers will scan and interpret information on Web pages using software agents. These software agents will be programs that crawl through the Web, searching for relevant information. They'll be able to do that because the Semantic Web will have collections of information called ontologies.
Wednesday, December 16, 2009, 06:06 PM - General
Posted by Administrator
In brief, the characteristics of Web 2.0 include:Posted by Administrator
The ability for visitors to make changes to Web pages: Amazon allows visitors to post product reviews. Using an online form, a visitor can add information to Amazon's pages that future visitors will be able to read.
Using Web pages to link people to other users: Social networking sites like Facebook and MySpace are popular in part because they make it easy for users to find each other and keep in touch.
Fast and efficient ways to share content: YouTube is the perfect example. A YouTube member can create a video and upload it to the site for others to watch in less than an hour.
New ways to get information: Today, Internet surfers can subscribe to a Web page's Really Simple Syndication (RSS) feeds and receive notifications of that Web page's updates as long as they maintain an Internet connection.
Expanding access to the Internet beyond the computer: Many people access the Internet through devices like cell phones or video game consoles; before long, some experts expect that consumers will access the Internet through television sets and other devices.
Think of Web 1.0 as a library. You can use it as a source of information, but you can't contribute to or change the information in any way. Web 2.0 is more like a big group of friends and acquaintances. You can still use it to receive information, but you also contribute to the conversation and make it a richer experience.
Wednesday, December 16, 2009, 05:50 PM - General
Posted by Administrator
RFID based enterprise intelligencePosted by Administrator
The vision of the SixthSense project in the MNS group at Microsoft Research India is the workplace or home of the future where computing is extended to encompass non-computing entities such as people, objects, and spaces to enable rich user experiences
The key technology underlying SixthSense is Radio Frequency Identification, or RFID. The technology comprises inexpensive tags that are attached to objects and readers that are able to read these tags from some distance. RFID is widely used to track the movement of goods through a supply chain. In a typical setting, a reader installed at the entrance of a warehouse can track pallets as they are moved in or out of the warehouse.
Thursday, November 12, 2009, 05:08 PM - SQL
Posted by Administrator
The timeout period elapsed prior to completion of the operation or the server is not responding.Posted by Administrator
This error occured very often in Asp.net Application. There are many solutions to resolve this problem. Lets Try these solutions one by one.
Solutions 1
Try adding a Connect Timeout in the web.config
<add key="DBConnection" value="server=LocalHost;uid=sa;pwd=;database=DataBaseName;Connect Timeout=200; pooling='true'; Max Pool Size=200"/>
Solutions 2
The solution is simple, change the CommandTimeout property of your SqlCommand object.
The Connect Timeout attribute of a connection string determines how long a SqlConnection Object runs before it stops attempting to connect to a server.
Sample Code
Dim myCommand As New SqlCommand(sql, myConnection, myTrans)
myCommand.CommandType = CommandType.StoredProcedure
myCommand.CommandTimeout = 0
When 0 is for no limit.
Solution 3
The "Timeout expired" error commonly occurs when an instance of the SQL Server Database Engine is not running, when the server name was typed incorrectly, or when there are network problems or firewalls.
Following are the cause and their solutions
A- Server name was typed incorrectly.
Try again with the correct server name.
B- The SQL Server service on the server is not running.
Start the instance of SQL Server Database Engine.
C- The TCP/IP port for the Database Engine instance is blocked by a firewall.
Configure the firewall to permit access to the Database Engine.
D- Database Engine is not listening on port 1433 because it has been changed, or because it is not the default instance, and the SQL Server Browser service is not running.
Either start the SQL Server Browser service, or connect specifying the TCP/IP port number.
F- The SQL Server Browser service is running but UDP port 1434 is blocked by a firewall.
Either configure the firewall to permit access to the UPD port 1434 on the server, or connect specifying the TCP/IP port number.
G- The client and server are not configured to use the same network protocol.
Using SQL Server Configuration Manager, confirm that both the server and the client computers have at least one enabled protocol in common.
H- The network cannot resolve the server name to an IP address. This can be tested using the PING program.
Fix the computer name resolution problem on your network or connect using the IP address of the server. This is not a SQL Server problem. For assistance, see your Windows documentation or your network administrator.
I- The network cannot connect using the IP address. This can be tested using the PING program.
Fix the TCP/IP problem on your network. This is not a SQL Server problem. For assistance, see your Windows documentation or your network administrator.
Friday, October 30, 2009, 02:19 PM - General
Posted by Administrator
Cyclomatic complexity measures the amount of decision logic in a single software module. It is used for two related purposes in the structured testing methodology.First, it gives the number of recommended tests for software. Second, it is used during all phases of the software lifecycle, beginning with design, to keep software reliable, testable, and manageable. Cyclomatic complexity is based entirely on the structure of software's control flow graph. Posted by Administrator
Thursday, October 22, 2009, 05:37 PM - General
Posted by Administrator
A set of computers that work together to provide a service. The use of a cluster enhances both the availability and scalability of the service. Network Load Balancing provides a software solution for clustering multiple computers running networked client/server applications.Posted by Administrator
Thursday, October 22, 2009, 05:28 PM - .Net
Posted by Administrator
Comega :Microsoft bridging relational, object, XML data models. Posted by Administrator
Comega is programming technology, which is intended to bridge the gap between relational, object, and XML data models.
Comega, is described by Microsoft as a strongly typed, data-oriented programming language to bridge semi-structured hierarchical data (XML), relational data (SQL) and the .Net CTS (Common Type System). Additionally, Comega extends C# with asynchronous concurrency abstractions.
Comega tackles the issue of having to write repetitive code based on Microsoft’s ADO (ActiveX Data Objects) .Net technology
ADO.Net is great but it's a lot of repetitive code that you have to write again and again, and Comega provides a direct way to put SQL queries in your code base without the repetitive code
Wednesday, October 21, 2009, 04:59 PM - General
Posted by Administrator
The imperative language model requires the user to determine what the end result should be and also tell the computer step by step how to achieve that result.Posted by Administrator
It is analogous to asking a cab driver to drive you to the airport and then giving him turn by turn directions to get there.
SQL is different from many common programming languages such as c++ and visual basic because it is a declarative language. Languages such as c++, visual basic, c# and even assembler are imperative languages.
Declarative languages such as SQL, on the other hand let you frame problems in terms of the end result. All you have to do is describe what you want from SQL
Server via a query and trust the database engine to deliver the correct result as efficiently as possible. To continue the cab driver analogy from earlier, in a declarative language you would tell the cab driver to take you to the airport and then trust that he knows the best route.
Tuesday, October 13, 2009, 10:07 PM - SQL
Posted by Administrator
Scaling Up Versus Scaling Out Database Server?Posted by Administrator
Scaling Up Vs. Scaling Out. When web application traffic grows there are two ways to handle it. Either Scaling Up or Scale out, what is it specially in case of Database server?
The most common approach to scaling applications is to scale them up. In essence, scaling-up simply means to keep increasing the resources (hardware) available on the server, allowing it to handle more load and user requests. The reason that this approach is so common is because it requires no change to the actual application and all of the data is in one place, which certainly helps reduce complexity and maintenance.
The second and more complex approach is scaling-out. The basic idea is to partition data across several database servers and therefore splitting the load of the application across multiple servers.
While scaling out web servers can be done quite easily, properly scaling out database servers is far more challenging.

Calendar



