Rajnish Noonia
Technical Blog
  • Home
  • About Me
  • Site Map

N-tier Sync Framework – OCA (Occasional connected Application)

By Rajnish Noonia On March 20, 2012 · 3 Comments

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 [...]

Continue Reading →

.Net Script Editor (C#,Vb.net Mini IDE)

By Rajnish Noonia On December 6, 2009 · 9 Comments

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 [...]

Continue Reading →

Silverlight Page Flip

By Rajnish Noonia On April 10, 2010 · 22 Comments

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 [...]

Continue Reading →

Silverlight Database

By Rajnish Noonia On November 9, 2010 · 2 Comments

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 [...]

Continue Reading →

Nano ViewModel Support

By Rajnish Noonia On January 16, 2011 · 1 Comment

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 [...]

Continue Reading →

Button XAML

By Rajnish Noonia On May 2, 2012 · Leave a Comment

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" [...]

Continue Reading →

Reactive Extensions (Rx) Data Streaming

By Rajnish Noonia On April 11, 2012 · Leave a Comment

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 [...]

Continue Reading →

Async Entity Framework for WPF

By Rajnish Noonia On February 19, 2012 · Leave a Comment

- 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 [...]

Continue Reading →

Page flip with deep zoom

By Rajnish Noonia On June 29, 2011 · 8 Comments

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 [...]

Continue Reading →

@@servername

By Rajnish Noonia On June 28, 2011 · Leave a Comment

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 [...]

Continue Reading →

Export data from corrupted database

By Rajnish Noonia On May 12, 2011 · Leave a Comment

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 [...]

Continue Reading →

Compare DB – record counts

By Rajnish Noonia On April 22, 2011 · Leave a Comment

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=”?”

[...]

Continue Reading →
← Previous Entries
  • Blog Summary

    1 contributors have published
    70 posts that generated
    258 comments
  • Categories

    • .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

    • Code Project
    • Google
    • LinkedIn
    • Planet Source Code
    • Source Forge
    • VBForums
  • Misc

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Rajnish Noonia

Pages

  • About Me
  • Site Map

The Latest

  • Button XAML
    XAML Button’s in 5 mins.. XAML <Grid x:Name="LayoutRoot" Background="#FF54126A">  <Grid  Height="87" […]

More

Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the RSS feed.
© 2012 Rajnish Noonia
Platform by PageLines