Re: ASP on CE 4.2 ?'s

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Troy Anderson (tander67_at_hotmail.com)
Date: 11/17/04


Date: Wed, 17 Nov 2004 18:16:35 -0500


The CE 5.0 ISAPI approach sounds pretty interesting. Our use for ISAPI or
ASP will be to remotely configure and run diagnostics on a radiation
measurement device. We will need to implement a security layer so nothing
can be tampered with, SSL is our approach. I really wish there was a .NET
solution; I have enjoyed that managed environment for sometime now. Before
I commit to anything I will create a prototype OS for our board with ASP,
XML, and COM support to get an estimate of the level of effort.

Thanks for the info.

"John Spaith [MS]" <jspaith@ONLINE.microsoft.com> wrote in message
news:u32JphOzEHA.2036@TK2MSFTNGP12.phx.gbl...
> First of all, happy to hear you've had good luck with CE so far and that
> you're looking to take your platform to the next level.
>
> In CE 5.0 Platform Builder, we've added an ISAPI extension based remote UI
> framework to try and make writing the web configuration of devices more
> straightforward. It's pretty heavily geared toward residential
> gateway/firewall type devices and also to SMB servers in the out of the
> box
> config, but with some tweaking you can make it display anything you want.
> It uses HTML files it reads in and parses rather than hardcoding C strings
> into ISAPI's, the super-naive approach. It was designed so that 3rd
> parties could extend it.
>
> If you have PB 5, the code is in \public\servers\oak\samples\RemoteAdmin
> and it's reasonably well documented. I didn't write the core framework,
> but was able to add some display modules in a straightforward manner. Of
> course my office was 2 doors from the guy who wrote it and I could ask him
> anything I wanted; your experience extending this may vary :). We spent a
> lot of time documenting it in MSDN so it should hopefully be better than a
> bunch of C code review, however.
>
> ASP is also an option here; just want to make sure you (and the world) are
> aware of the RemoteAdmin sample. To answer your concerns:
>
>> -) Is this a good choice? Memory and speed is not an issue on our
>> platform.
> Tough call - depends on how frequently you need to change page, your
> likes/dislikes, how you like my answers to questions below,...
>
>> -) What is the development env to use? Visual InterDev? If Visual
>> InterDev, so how do you hook it in?
> I wish it was that easy :(. We have no development environment, no remote
> script debugger, etc... You could certainly develop your page for CE,
> then do hard-core debugging with IIS since ASP's should be compatible,
> then bring the CE page back. But we don't have better tools. Just don't
> develop entirely on IIS or you may depend on a feature that they have that
> CE doesn't support and only learn about it late in the development cycle.
>
>> -) Which script env is better supported (VBScript or JScript)? I have
>> seen some reports with bugs in the JScript interpreter?
> Both VBscript + Jscript are supported. I'm not aware of any JScript bugs,
> which doesn't mean there aren't any of course.
>
>> -) Are there better tools in CE 5.0? We are currently using CE 4.2
> No - story remains the same on 5.0 + 4.2.
>
>> -) Are there any COM issues? I come from the PC world and have had to
>> deal with a lot of headaches with COM apartments, issues with
>> WaitForMultipleObjects and MsgWaitForxxx, Marshalling, etc.. I realize
>> that CE has simplified some of this. However, there are always hidden
>> issues that you never find out until your are deep into coding and
>> testing.
> Just do all your work on the thread that ASP calls into you on and you'll
> be happy. Once you start getting into marshalling across threads your
> life can become a nightmare, but you should be able to do what you want
> here without that.
>
>> -) Can we use .NET CompactFramework instead of ASP some how? I realize
>> ASP.NET is not supported.
> No. No ASP.net as you say, but there is also not a way to have C Code
> (i.e. a COM wrapper you write) call into managed code in current versions
> of CE. The opposite (managed->native) works, but not native->managed.
>
>> -) Should we simply stay with ISAPI instead?
> Your call. This one is beyond my pay scale :).
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> You assume all risk for your use. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "Troy Anderson" <tander67@hotmail.com> wrote in message
> news:eTvanxLzEHA.3448@TK2MSFTNGP12.phx.gbl...
>> Our company is thinking about developing an ASP web server on our
>> embedded
>> device. The first release of our embedded device included a simplistic
>> ISAPI extension DLL written in C++. We have received some very positive
>> initial feedback from customers, sales, and service reps. So we figured
>> we would take the next step to support ASP. I have a few questions
>> though
>>
>> -) Is this a good choice? Memory and speed is not an issue on our
>> platform.
>> -) What is the development env to use? Visual InterDev? If Visual
>> InterDev, so how do you hook it in?
>> -) Which script env is better supported (VBScript or JScript)? I have
>> seen
>> some reports with bugs in the JScript interpreter?
>> -) Are there better tools in CE 5.0? We are currently using CE 4.2
>> -) Are there any COM issues? I come from the PC world and have had to
>> deal with a lot of headaches with COM apartments, issues with
>> WaitForMultipleObjects and MsgWaitForxxx, Marshalling, etc.. I realize
>> that CE has simplified some of this. However, there are always hidden
>> issues that you never find out until your are deep into coding and
>> testing.
>> -) Can we use .NET CompactFramework instead of ASP some how? I realize
>> ASP.NET is not supported.
>> -) Should we simply stay with ISAPI instead?
>>
>>
>> Thanks
>>
>>
>>
>
>
>



Relevant Pages

  • Re: ASP on CE 4.2 ?s
    ... The CE 5.0 ISAPI approach sounds pretty interesting. ... I commit to anything I will create a prototype OS for our board with ASP, ... and COM support to get an estimate of the level of effort. ... > In CE 5.0 Platform Builder, we've added an ISAPI extension based remote UI ...
    (microsoft.public.windowsce.embedded)
  • Re: ASP on CE 4.2 ?s
    ... The CE 5.0 ISAPI approach sounds pretty interesting. ... I commit to anything I will create a prototype OS for our board with ASP, ... and COM support to get an estimate of the level of effort. ... > In CE 5.0 Platform Builder, we've added an ISAPI extension based remote UI ...
    (microsoft.public.windowsce.app.development)
  • Re: ASP on CE 4.2 ?s
    ... The CE 5.0 ISAPI approach sounds pretty interesting. ... I commit to anything I will create a prototype OS for our board with ASP, ... and COM support to get an estimate of the level of effort. ... > In CE 5.0 Platform Builder, we've added an ISAPI extension based remote UI ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Confirmation Page
    ... Yes but only w/ a server side script language your host supports (other than ASP) ... To find the best Newsgroup for FrontPage support see: ... |> security update, then there is usually no charge for the call. ...
    (microsoft.public.frontpage.programming)
  • Re: Serving .asp code with the asp.net engine
    ... Based on my understanding, when you configured wildcard application mapping in IIS to use aspnet_isapi.dll, the .asp files should still be accessible. ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.dotnet.framework.aspnet)