Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development

    Shifting From Silverlight to HTML 5

    By
    Jeff Cogswell
    -
    February 8, 2013
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      PrevNext

      1Shifting From Silverlight to HTML 5

      1

      When you create a new application, you can choose between the Silverlight-based applications or HTML5 applications. In either case, you can use either C# or Visual Basic.

      2Connecting to Databases

      2

      Once your application starts, you can either connect to an existing database or design your own database. Here we’re building a client invoice table for a freelance author application.

      3Creating Joins With Foreign Keys

      3

      Joins with foreign keys are easy to accomplish simply by linking two tables together. You do not manually provide a foreign key; the connection is made automatically for you.

      4Solution Explorer as a Visual Studio Look and Feel

      4

      After you create your data, you can add screens to your project by right-clicking on the Solution Explorer. Note that the Solution Explorer is very similar to what you find in Visual Studio.

      5Adding Components to a New Screen

      5

      Once you create the screen, you get a tree diagram of the screen’s components, from which you can make adjustments to the screen and add navigation.

      6Using the OData Protocol to Connect to Databases

      6

      Instead of creating your tables from scratch, you can attach to an existing database. One such option allows you to use Microsoft’s OData protocol.

      7Creating Functional Buttons

      7

      You can add new buttons to your screens and have the buttons automatically trigger certain tasks. Here we’re creating a button that saves the user data added in the screen.

      8Creating Forms Is Easy

      8

      Forms can easily be created, allowing different types of controls to appear. Here’s the form running in the browser. Notice especially the date fields.

      9Working With Foreign Keys

      9

      Foreign keys in the forms appear as pop-ups listing the data from the foreign table. Here the table displays only one item, eWEEK, but you can easily have more items.

      10Write Server-Side or Client-Side Code

      10

      You can write server-side code in C# or, as shown here, client-side code in JavaScript.

      11Displaying Netflix With a Windows 8 Look

      11

      Attaching to a public OData source, such as Netflix, you can display the data with a Windows 8 look. Here we’re listing the Genres available.

      12Showing Netflix Data in a List Display

      12

      Here, we’re showing the same Netflix data but with a list appearance. This only required a quick change in the configuration.

      PrevNext

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.