473,670 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

About XBap, XAML, Browser Applications

dgk
From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHos t.exe.

So, since it gets the app from the server each time that it runs
(yes?) it makes maintenance easy. But because it isn't a bunch of html
and javascript but can access almost the full framework, I can program
stuff that is a pain otherwise. There are sandbox considerations.

Is this a reasonable distillation of XBap?
Mar 29 '07 #1
5 2678
currently xbap should be used where you'd use flash as it has simular
restrictions. you can code a whole application in it (domloading .net
assemblies), but load time is slower than using wpf/e & javascript.

its sandbox only allows access back to the same server, so be sure to
setup webservices for it to call. it will have no access to the local
box unless your users change their security settings.

-- bruce (sqlwork.com)

dgk wrote:
From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHos t.exe.

So, since it gets the app from the server each time that it runs
(yes?) it makes maintenance easy. But because it isn't a bunch of html
and javascript but can access almost the full framework, I can program
stuff that is a pain otherwise. There are sandbox considerations.

Is this a reasonable distillation of XBap?

Mar 29 '07 #2
Hi,

dgk wrote:
From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHos t.exe.

So, since it gets the app from the server each time that it runs
(yes?) it makes maintenance easy. But because it isn't a bunch of html
and javascript but can access almost the full framework, I can program
stuff that is a pain otherwise. There are sandbox considerations.

Is this a reasonable distillation of XBap?
Actually, the app is cached, so the client doesn't fetch it every time
from the server, unless there is a new version available, or unless the
cache has been cleaned up.

Additionally, in your scenario (Intranet), you could run you XBAP in
full trust, which means that you must install the certificate on every
PC (can be automated). This way, the XBA has the exact same rights as a
ClickOnce installed application (including interop, starting new
processes, file system access, etc...).

Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Mar 29 '07 #3
Hi,

bruce barker wrote:
currently xbap should be used where you'd use flash as it has simular
restrictions. you can code a whole application in it (domloading .net
assemblies), but load time is slower than using wpf/e & javascript.
I disagree that you'd use XBAP where you'd use Flash. XBAPs are another
type of animal. I think that WPF/E can be compared to Flash, but XBAPs
not really. XBAPs are quite a lot more powerful than Flash, if only
because you're having access to the whole .NET framework, while Flash's
code behind is really JavaScript (well, ActionScript).
its sandbox only allows access back to the same server, so be sure to
setup webservices for it to call. it will have no access to the local
box unless your users change their security settings.

-- bruce (sqlwork.com)
I think it would be fair to mention that XBAPs can also be deployed with
full trust, for example in an Intranet scenario. Full trust means that a
certificate must be installed, so it's a limitation.

Also, in .NET 3.5 coming this year (normally), you'll have basic WCF
services in partial trust too.

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Mar 29 '07 #4
dgk
On Thu, 29 Mar 2007 15:50:23 -0700, "Laurent Bugnion [MVP]"
<ga*********@bl uewin.chwrote:
>Hi,

dgk wrote:
>From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHos t.exe.

So, since it gets the app from the server each time that it runs
(yes?) it makes maintenance easy. But because it isn't a bunch of html
and javascript but can access almost the full framework, I can program
stuff that is a pain otherwise. There are sandbox considerations.

Is this a reasonable distillation of XBap?

Actually, the app is cached, so the client doesn't fetch it every time
from the server, unless there is a new version available, or unless the
cache has been cleaned up.

Additionally , in your scenario (Intranet), you could run you XBAP in
full trust, which means that you must install the certificate on every
PC (can be automated). This way, the XBA has the exact same rights as a
ClickOnce installed application (including interop, starting new
processes, file system access, etc...).

Laurent
Thanks. I'm not even sure that I need full trust though it's nice to
have the option. I think I'll play around some more.
Mar 30 '07 #5
FYI: You get those exact benefits with managed usercontrols in 2.0.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"dgk" <No*****@MailsA nonymous.comwro te in message
news:dl******** *************** *********@4ax.c om...
On Thu, 29 Mar 2007 15:50:23 -0700, "Laurent Bugnion [MVP]"
<ga*********@bl uewin.chwrote:
>>Hi,

dgk wrote:
>>From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHos t.exe.

So, since it gets the app from the server each time that it runs
(yes?) it makes maintenance easy. But because it isn't a bunch of html
and javascript but can access almost the full framework, I can program
stuff that is a pain otherwise. There are sandbox considerations.

Is this a reasonable distillation of XBap?

Actually, the app is cached, so the client doesn't fetch it every time
from the server, unless there is a new version available, or unless the
cache has been cleaned up.

Additionall y, in your scenario (Intranet), you could run you XBAP in
full trust, which means that you must install the certificate on every
PC (can be automated). This way, the XBA has the exact same rights as a
ClickOnce installed application (including interop, starting new
processes, file system access, etc...).

Laurent

Thanks. I'm not even sure that I need full trust though it's nice to
have the option. I think I'll play around some more.

Apr 9 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
5758
by: moondaddy | last post by:
will CodeDom create XAML windows or just regular windows forms? If so, how to I tell it to create a xaml window instead of a windows form? thanks -- moondaddy@noemail.noemail
2
4259
by: Abhi Arora | last post by:
Hi, I need to host an XBAP application inside an Aspx page. I tried adding my aspx page using IFRAME, but it doesnt show up in the browser. When I call the page, it runs without any error. But it doesnt show anything from the XBAP page. Am I missing something simple here? Abhi
3
2495
by: arunonw3 | last post by:
Please answer me 1. Is XAML maily aiming windows. Why is the controls on double click not produce the event handlers in the c# file( code behind or something ...) 2. XAML web browser applications doesnt need IIS? Then can we use it for server side programming? If yes how is it working? 3.How to use the asp.net objects from xaml (web) page. Or is there any
1
4671
by: JeffN825 | last post by:
Hi, I am designing a XAML Browser Application that hosts an excel spreadsheet in a DSOFramer ActiveX control. The DSOFramer control is in a Windows Forms Host control off the main XAML page. The XAML Browser App has been configured to run in full trust mode and I have imported the pfx certificate into the Trusted Publishers and Trusted Root stores to get this to work. Everything works fine except registration-free COM for the DSOFramer....
0
3020
by: Masudur | last post by:
Hi, I been searching net for a while for solution but unable to work. i have few questions regarding xbap applicaion. first of all can i really use wcf service with xbap browser application in partial trust that is in internet. if i can please help me with some specific guide line. second of all how can i communicate with the parent site... from xbap. that is if my xbap is hosted in http://mysite/app/default.aspx page in a iframe
0
2192
by: Marek Kolesar | last post by:
Hi all i have a big problem with simple program wpf browser apliacation(xbap) app had only 1 label in grind where is loaded datatime from DB:) ( very easy sql comand )
0
1535
by: Michael Justin | last post by:
Dear Newsgroup After many searches and tests I have not found a way to use a HTTPWebrequest from inside an XBAP (WBF browser application) to connect with the same HTTP server where it is hosted. I have tried using ClickOnce with full and partial trust, installed the certificate on the client, have set the minimal security settings in the web browser, tried it on Internet Explorer 7 and Firefox 3. WebPermissions are enabled in the VS...
0
1464
by: | last post by:
It seems that we can only create a WPF gadget by embed XBAP Iframe, the WPF application will not work at this time (I tried Stanimir's demo, it is not different to a standalone WPF application, it will not be able to dock into the sidebar when move the "Hello gadget" closing to the sidebar, I don't know if it is still a sidebar gadget if it could not dock into the sidebar). The problem I met in XBAP gadget is that it is difficult to set...
4
2942
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= | last post by:
I'm creating WPF gadget by embed XBAP Iframe: 1. Is it possible that create Pure WPF (non-XBAP) which could auto dock into the Vista sidebar when dragging the WPF application near Sidebar? 2. My current approach is using XBAP inside the iFram, The problem I met in XBAP gadget is that it is difficult to set padding so that the gadget could be drag out of the sidebar. I.E., the size of my XBAP is 190X145, my html launcher is <html>
0
8907
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8817
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8593
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8663
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6218
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2804
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1799
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.