Sync Framework is a comprehensive synchronization platform that enables collaboration and offline access for applications, services, and devices. Sync Framework features technologies and tools that enable roaming, data sharing, and taking data offline. By using Sync Framework, developers can build synchronization ecosystems that integrate any application with data from any store, by using any protocol [...]
Complete Visual Studio IDE (source code included) in single user contol that can be used in your windows application to provide scripting feature in languages like c# abd vb.net.IDE have features like code intellisence,reference to .Net assemblies,COM libraries & web services.The code editor supports lot coloring for languages like c,c++ c#,vb.net,sql etc..Refrectoring features like converting [...]
Page flip is a very impressive features in displaying your documents, images, media, etc.. The technique behind page flip is pretty complicated. Below is the page flip live application & source code link.
You can download the source code here (VS 2010).
I could not spare much time to write implementation [...]
The Silverlight library in this article extends RIA service entities and provides save & load method to save/load entities directly into application storage (Isolation storage). The library supports dynamic quota management for application storage i.e. if an entity requires more space to store it will prompt user to confirm new size of quota store. The [...]
Nano view model is very small library to build MVVM enabled Silverlight/WPF/WP7 based application.MVVM becomes more and more popular in fast few years and there are many implementations like MVVM Light toolkit, Prism(Last Version), nRoute, or Caliburn however these libraries have too many features and keep on growing which could have adverse effect on you project [...]
XAML Button’s in 5 mins..
XAML
<Grid x:Name="LayoutRoot" Background="#FF54126A">
<Grid Height="87" Width="400" Margin="31,85.5,209,0" VerticalAlignment="Top" d:LayoutOverrides="Height" >
<Border Background="#FF449712" Margin="1" CornerRadius="5" BorderThickness="1">
<Border.BorderBrush>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#6D000000" Offset="0"/>
<GradientStop Color="Black" Offset="0.994"/>
</LinearGradientBrush>
</Border.BorderBrush>
<Border.Effect>
<BlurEffect Radius="2"/>
</Border.Effect>
</Border>
<Border CornerRadius="5" [...]
You have probably heard about Reactive Extensions, a library from Microsoft that greatly simplifies working with asynchronous data streams and allows to query them with LINQ operators.In my previous post I briefly discussed about loading data via entity framework asynchronously however it lacks getting chunks of data. This post demonstrates how to [...]
- Sample application , implemented ObjectContext, – base class for your entity data modal classes in WPF project, where data is used via ADO.net instead of WCF. The extension adds Async capability to your existing entity data model ..This is based on .net 4.0 Task..The below mentioned approach is one way implementing Async entity call [...]
Book control is another excellent page flip control which allows you to add any silverlight element as book page.It supports page down and page up as bidiretional navigation keys.Demo application & source code is attached below.
The objective of this article is to create photo album application which allows [...]
If @@servername returns null or return wrong host name, execute below mentioned sql Query.
DECLARE @Current SysName
Select @Current = Convert(varchar(128), SERVERPROPERTY(‘ServerName’) )
IF(@Current <> @@SERVERNAME)
BEGIN
EXEC sp_dropserver @@SERVERNAME
EXEC sp_addserver @server=@Current,@local = ‘local’
EXEC master..xp_cmdshell ‘ECHO NET STOP MSSQLSERVER > restartSQL.bat’, no_output
EXEC [...]
Below is the sql script to import data from source database into target database, It is assumed that you have both the databases on single server.The source database is current database & few tables are corrupted whereas the traget database is created from old backup for target database.since their is corruption ,it is not possible [...]
Code snippet will loop through all tables of Database SOURCEDB and compare record counts with tables in TARGETDB database
USE SOURCEDB
EXEC SP_MSforeachtable ‘DECLARE @OriCount INT
DECLARE @Count INT
DECLARE @Name VARCHAR(400)
SET @Count = (SELECT COUNT(*) FROM TARGETDB.?)
SET @OriCount = (SELECT COUNT(*) FROM SOURCEDB.?)
SET @Name=”?”
[...]
Blog Summary
1 contributors have published
70 posts that generated
258 commentsCategories
- .Net Concepts (18)
- Architecture (8)
- Asp.Net (7)
- C# (22)
- COM (3)
- Forms (5)
- General (11)
- HTA (2)
- Javascript (3)
- RIA (6)
- Silverlight (26)
- SQL (5)
- Tips (11)
- Tools (1)
- VB 6.0 (2)
- VB.Net (2)
- VC++ (2)
- WCF (7)
- WPF (13)
Rajneesh On
