Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Database Connectivity in Silverlight Web Application

Database Connectivity in Silverlight Web Application

Scheduled Pinned Locked Moved WPF
csharpdatabasewcfquestion
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sunil G 3
    wrote on last edited by
    #1

    Hi All, I want Database Connectivity in my Silverlight Web Application without using WCF service. Is is possible? I have googled but no luck. Thank U, Sunil G.

    P A I V 4 Replies Last reply
    0
    • S Sunil G 3

      Hi All, I want Database Connectivity in my Silverlight Web Application without using WCF service. Is is possible? I have googled but no luck. Thank U, Sunil G.

      P Offline
      P Offline
      Pravin Patil Mumbai
      wrote on last edited by
      #2

      Hi Sunil, When you want to use Silverlight for Web Developement and at the same time want to communicate with the database then you only have the option of service, whether Web Service of WCF Service. But why don't you want to use WCF..?

      1 Reply Last reply
      0
      • S Sunil G 3

        Hi All, I want Database Connectivity in my Silverlight Web Application without using WCF service. Is is possible? I have googled but no luck. Thank U, Sunil G.

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        You can use the Entity framework - http://michaelsync.net/2008/01/15/consuming-adonet-data-service-astoria-from-silverlight[^].

        The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

        1 Reply Last reply
        0
        • S Sunil G 3

          Hi All, I want Database Connectivity in my Silverlight Web Application without using WCF service. Is is possible? I have googled but no luck. Thank U, Sunil G.

          I Offline
          I Offline
          Ibrahim Poonawala
          wrote on last edited by
          #4

          No. Its not possible in silverlight. Silverlight runs client side and it cannot make server side calls.

          P 1 Reply Last reply
          0
          • I Ibrahim Poonawala

            No. Its not possible in silverlight. Silverlight runs client side and it cannot make server side calls.

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Sorry, but it is possible to have a local client side database. There are a number of projects which aim to provide this functionality via Isolated Storage. Here's[^] one such example.

            I'm not a stalker, I just know things. Oh by the way, you're out of milk.

            Forgive your enemies - it messes with their heads

            My blog | My articles | MoXAML PowerToys | Onyx

            1 Reply Last reply
            0
            • S Sunil G 3

              Hi All, I want Database Connectivity in my Silverlight Web Application without using WCF service. Is is possible? I have googled but no luck. Thank U, Sunil G.

              V Offline
              V Offline
              Vimalsoft Pty Ltd
              wrote on last edited by
              #6

              Well i don't think its no a problem to achieve that , but its not a good way to go. I have some Silverlight Apps that Connects to the Database without using WCF , i am just using pure OOP , but these are very small apps, the way to go is RIA. You need to use WCF Services its much easier like that.

              Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups