Virtual techdays INDIA │ 18-20 august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,

Slides:



Advertisements
Similar presentations
Getting Started with Oracle and .NET
Advertisements


Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Aneef Fashir Software Architect Assette. About Myself 5 years of experience in programming. BSc(Hons) in Computer Science and MIS. Currently working at.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
IS4401 Project Technology Issues. Introduction This seminar covers Databases When to use a Database What Database to use Development Tools Visual Studio.
SQL Reporting Services Overview SSRS includes all the development and management pieces necessary to publish end user reports in  HTML  PDF 
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
VMware vCenter Server Module 4.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
DEV351 Developing Local and Mobile Data Solutions with SQL Server Everywhere Steve Lasker Program Manager / Technical Lead Microsoft Corporation UI Framework.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
An Introduction to ASP.NET Web Pages 2 Module 1: Webmatrix Installation and Your First Web Site Tom Perkins.
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
SQL Server Express Scott Baldwin Associate Consultant - Readify Prerequisites for presentation: I assume you know: 1).Net Development 2) Database Experience.
DB2 (Express C Edition) Installation and Using a Database
Module 1: Introduction to Microsoft SQL Server 7.0.

Microsoft Azure Introduction ISYS 512. Microsoft Azure Microsoft Azure is a cloud.
Verify Hardware Requirements Install Windows Server 2008 R2 Configure Active Directory Install SQL Server 2008 Install SharePoint Server 2010 Configure.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Ken Casada Developer Evangelist Microsoft Switzerland WebMatrix: Your Web Made.
Introducing Reporting Services for SQL Server 2005.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Virtual techdays INDIA │ august 2010 SQL Azure – Tips and Tricks Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
From Virtualization Management to Private Cloud with SCVMM 2012 Dan Stolts Sr. IT Pro Evangelist Microsoft Corporation
SQL Server User Group Meeting Reporting Services Tips & Tricks Presented by Jason Buck of Custom Business Solutions.
Ken Casada Developer Evangelist Microsoft Switzerland Develop and maintain CMS.
Lesson 2 What is ASP.NET? What is ASP.NET? What is Web Matrix? What is Web Matrix? What are the features of Web Matrix? What are the features of Web Matrix?
BIT 285: ( Web) Application Programming Lecture 15: Tuesday, February 24, 2015 Microsoft Azure Instructor: Craig Duckett.
Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Mirek Sztajno SQL Server Security PM
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
Virtual techdays INDIA │ august 2010 Data-tier Applications in Visual Studio 2010 Abhishek Kala │ Partner Technical Consultant, Microsoft Global.
Virtual techdays INDIA │ 9-11 February 2011 Unleash the power of MDT 2010 Kaliyan Selvaraj │ Sr. Technical Consultant, Dell India.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Virtual techdays INDIA │ august 2010 Building & Deploying Windows Azure Application using VS2010 Saranya Sriram │ Developer Evangelist, Microsoft.
DevTeach Presentation Template Use of this template is mandatory (no exceptions) Please note the orientation of this presentation is landscape (16:10);
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft
Introduction ITEC 420.
DevOps with ASP.NET Core and Entity Framework Core
MIX 09 6/5/2018 9:14 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Visual Studio Tools for Office 2005
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Module 1: Getting Started
Principles of report writing
Populating a Data Warehouse
Populating a Data Warehouse
Populating a Data Warehouse
Microsoft Connect /1/2018 2:36 AM
Visual Studio + SQL Server Is Better
Michelle Haarhues Keeping up with SSMS.
Visual Studio 2008.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant, Microsoft Global Partner Services

 Introduction to SQL Server Compact  What is it?  Scenarios  Demonstration of creating and working with a SQL Server Compact Database  SQL Server Compact and ASP.NET  What’s new in SQL Server Compact 4.0?  Demonstration of using SQL Server Compact in ASP.NET application  Additional Features and Considerations  Getting Connected  Accessing Data  Deployment virtual techdays INDIA │ august 2010 S E S S I O N A G E N D A

3 Notes (hidden)

virtual techdays INDIA │ august 2010 ClientsServers Cloud Synchronizing data from the point of activity to the data center SQL Server

virtual techdays INDIA │ august 2010 SQL Server Compact

 User Code within the Database  Stored Procs  User Defined Functions  CLR within the database  Out of proc  If the hosting app isn’t running, the database isn’t running  Out of proc achieved through developer defined Windows Service  Multiple User Roles  Application will manage security rights to the database virtual techdays INDIA │ august 2010 SQL Server Compact Does not Target

virtual techdays INDIA │ august 2010 Evolution of SQL Server Compact‘06‘01‘05‘07‘03‘08‘10

virtual techdays INDIA │ august 2010 DEMO: Creating SQL Server Compact Database

 Support for ASP.NET  Virtual Memory Reduction  Higher Reliability  Encryption Algorithm Update  Medium Trust  Support for Paging Queries  Deployment Enhancements  Integration with ADO.NET EF 4.0* virtual techdays INDIA │ august 2010 SQL Server Compact and ASP.NET What’s new in SQL Server Compact 4.0?

 Small size, easy to download and no setup configuration needed to install  End-to-end development and deployment experience in Visual Studio  Easily deployed using xcopy (private deployment)  Embedded in the application and no process overhead  Supports multiple read and write connections to the database  Seamless migration of schema and data to SQL Server  Fully functional embedded database with support for indexes, referential integrity constraints etc.  Works in medium trust  Tuned for stress and performance for website load virtual techdays INDIA │ august 2010 SQL Server Compact and ASP.NET Advantages of Compact in ASP.NET

virtual techdays INDIA │ august 2010 SQL Server Compact and ASP.NET Server Explorer Query Designer Transact-SQL Editor Dataset Configuration, Entity Framework Web Forms Drag and drop of SQL Compact tables on Web Forms Project based code generating designers Click Once Web (MS) deploy Application deployment designers Project upgrade,and add new or an existing Local Database New item template for Compact in Web projects Add SDF file in App_Data Other project based miscellaneous designers Paid VS SKUs: Pro, Premium, Ultimate Free: C# Express, VB Express and Visual Web Developer Express VS SKU support Tooling in Visual Studio

virtual techdays INDIA │ august 2010 DEMO: ASP.NET and SQL Server Compact 4.0

 SqlCeConnectionString…  File path  Specifies password  And options e.g. Encryption Mode, Max Database Size, Mode(R/W), Autoshrink  Use |DataDirectory| macro  To resolve obfuscated.SDF database file location  Use “Max database size” for larger databases  Defaults to 128MB for devices and 256 MB for desktop virtual techdays INDIA │ august 2010 SQL Server Compact Getting Connected

 ADO.NET Entity Framework  Create database using code first  Support for server generated keys  ADO.NET EF CTP4 available for download  Paging queries  T-SQL syntax added for OFFSET and FETCH  Typed DataSets & TableAdapters  SqlCeResultset – Scrollable & Updateable Cursors virtual techdays INDIA │ august 2010 SQL Server Compact Accessing Data

 Change Managed Provider reference to Copy Local = true  Include both 32 and 64 bit Compact engine DLLs  Place 32bit version under an X86  Place 64bit version under AMD64  AMD64 includes Intel X64 Folder Name based off:  Copy the DLLs from the private folder virtual techdays INDIA │ august 2010 SQL Server Compact Deployment Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")

 It’s free, fast, safe/encryptable and compact  It’s easy to program and manage  Single file, code free, doc centric file format  It’s an alternative to JET, XML persisted DataSets, SQL Server Express  It’s integrated into:  Visual Studio 2010  WebMatrix Beta  It provides for seamless migration of schema and data to SQL Server virtual techdays INDIA │ august 2010 Summary SQL Server Compact

virtual techdays INDIA │ august 2010 RESOURCES  SQL Server Compact Team Blog   Latest updates from the SQL Server Compact Team and also some tips and tricks.  SQL Server Compact 4.0 Community Technology Preview   Download of SQL Server Compact 4.0 CTP  SQL Compact Toolbox   GUI Tool to work with SQL Compact 4.0 CTP  Everything SQL Server Compact   Blog with updates and tips on SQL Server Compact

virtual techdays INDIA │ august 2010 RELATED CONTENT  Data Driven – Master/Details Business Forms  Amar Nityananda  19 th August 2010, 3:00pm - 4:00pm  ASP.NET 4.0 Core Runtime Enhancements  Sundararajan S  19 th August 2010, 4:15pm - 5:15pm  Data-Tier Application in Visual Studio 2010  Abhishek Kala  19 th August 2010, 4:15pm - 5:15pm

virtual techdays THANKS │ august 2010