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
J

Jun Du

@Jun Du
About
Posts
821
Topics
92
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to verify the signature signed by Java?
    J Jun Du

    Hi, I have a Java program that signed a token using the private key and SHA1 algorithm. Now I try to verify it using the public key and SHA1. The verification fails. Is there any compatibility issue here or I am missing something? Thanks.

    Best, Jun

    C# java algorithms help tutorial question

  • How does .NET 2.0 app consume a WCF 3.5 HTTP POST RESTful service?
    J Jun Du

    Hi, I have .NET Compact Framework 2.0 application running on a CE device, having no WCF support. I need to consume a WCF 3.5 HTTP POST RESTful service. The WSDL only generates an empty "Reerence.cs" for me. Do I treat this service as a SOAP web servce or just HTTP POS request? Thanks!

    Best, Jun

    ASP.NET wcf csharp xml question

  • How to create a segmented network within my home network?
    J Jun Du

    Now I have a home network controlled by a router. Can I create a segmented network by adding another hub/switch to the network, and how? I need hands-on instructions, not concept. Thanks!

    Best, Jun

    System Admin sysadmin tutorial question

  • How is Pocket PC 2003 Emulator mapped to the file system?
    J Jun Du

    When I use the emulator to debug, where is the emulator deployment actually mapped to my local file system? I needto deploy more data files and want to know the location of the emulator deployment folder. I am using Windows 7, Visual Studion 2005, Pocket PC 2003 Emulator. Thanks!

    Best, Jun

    .NET (Core and Framework) sysadmin debugging question

  • How to implement a resumable HTTP download?
    J Jun Du

    We have an app that needs to download some 20MB file via a GSM connection. Due to the size of file and nature of the GSM connection, we want the download can pick up and continue from where it dropped off. Any info or suggestions? Thanks!

    Best, Jun

    C# tutorial question

  • SQL CE license question...
    J Jun Du

    Do I need a license to deploy SQL CE to my CE devices for commercial use? I heard it's free but am not sure about it.

    Best, Jun

    Database question database

  • What does this method-based query provide?
    J Jun Du

    Hi, This code snippet is from MSDN[^]. Can someone shed light on what this query provide? using (AdventureWorksEntities context = new AdventureWorksEntities()) { ObjectSet contacts = context.Contacts; ObjectSet orders = context.SalesOrderHeaders; var query = contacts.Join( orders, order => order.ContactID, contact => contact.Contact.ContactID, (contact, order) => new { ContactID = contact.ContactID, SalesOrderID = order.SalesOrderID, FirstName = contact.FirstName, Lastname = contact.LastName, TotalDue = order.TotalDue }); }

    Thanks, Jun

    .NET (Core and Framework) database com question

  • How .NET Runtime interprets obfuscated C# code?
    J Jun Du

    Have got a chance to work with some obfuscating tools. I understand .NET Runtime works the same way as JVM does. My question is the following: After I obfuscated (i.e. messed up) compiled byte-code (Java or .NET), how could the Virtual Machine (.NET Runtime or JVM) still understand the byte-code and compile it into the machine code?

    Best, Jun

    The Lounge csharp java question tools

  • Can I unsign an assembly and how...
    J Jun Du

    Thanks Dave. So if I signed my assembly with key A and want to resign it with key B, does it work at all?

    Best, Jun

    .NET (Core and Framework) question

  • Can I unsign an assembly and how...
    J Jun Du

    We can sign asseblies with a strong name or key. Sometimes I need reuse the assembly on a different device so I need to sign it again with a different key. How do we do it? Can I unsign it first with the previous key and sign it with the new key? Thanks!

    Best, Jun

    .NET (Core and Framework) question

  • How two mobile apps exchange data on the same device?
    J Jun Du

    Thanks, it appears that Android has some IPC framework to work with, but I almost got nothing from iPhone.

    Best, Jun

    Mobile android question

  • How two mobile apps exchange data on the same device?
    J Jun Du

    I am new to mobile stuff. What are options for data exchanges and/or callbacks between two mobile apps on the same device, e.g. an Android phone?

    Best, Jun

    Mobile android question

  • It can't just be me? (Ping with microsoft domains)
    J Jun Du

    Me too. I goot all 4 request timed out from Microsoft.

    Best, Jun

    The Lounge com collaboration question

  • How to load VS2005 project with VS2008 and downgrade it to .NET 2.0?
    J Jun Du

    It turns out that the IDE treats desktop and device apps differently. With a device app, you can access the main menu "Project->Change Target Platform..." where you can select among various mobile platforms.

    Best, Jun

    .NET (Core and Framework) question csharp tutorial

  • How to load VS2005 project with VS2008 and downgrade it to .NET 2.0?
    J Jun Du

    Hi, I have a VS2005 project for Windows CE 5.0. After I migrate it to VS2008, I want to downgrade to .NET 2.0 for the backwrad compatability. However I can't find "Target Framework" in the project properties for me to select. How do I downgrade it? Thanks!

    Best, Jun

    .NET (Core and Framework) question csharp tutorial

  • How about including Java as one of the .NET supported languages?
    J Jun Du

    I came across an experimental tool named XMLVM, which as claimed can convert the compiled .NET assemblies into Java byte code and vice versa. This makes me thinking why can't Microsoft include Java into the .NET run-time support...

    Best, Jun

    The Lounge csharp java question

  • Does Windows Phone support WinForm development?
    J Jun Du

    I am new to Windows Phone. We have some legacy WinForm applications for Windows CE 4.0. Does Windows Phone 7.x support WinForm development? It appears to me that most tutorials are using WPF ot Silverlight, which makes me think that WinForm does not exist on Windows Phone any more. Is it still possible to port legacy WinForm apps to Windows Phone?

    Best, Jun

    Mobile csharp wpf question

  • Can I port CE 4.0 app to Nokia Windows Phone...
    J Jun Du

    I have some apps writen for legacy Windows CE 4.0. More specifically, the apps were built using C# on Visual Studio 2003 (basically .NET 1.x). Is it possible to port them on to Nokia Windows Phone, say 7.0 or 7.5? If yes, how easy or how difficult is the porting? Thanks!

    Best, Jun

    Mobile csharp visual-studio question

  • How to make auto-generated unit tests fail initially?
    J Jun Du

    You could add the test method before you implement a method. You did the same with classes. I think this is what "write test first, then write code" really means. You also could create method signatures (input/ouput parameters and return type) without method body. After having the method signatures, you can write the test method to test the method.

    Best, Jun

    C# visual-studio testing question csharp business

  • How to make auto-generated unit tests fail initially?
    J Jun Du

    I think I understand TDD correctly. The test project is a wrapper of one or more tests. When I said that the test project fails, I meant that one or more tests (or test methods) fail. This is the TDD workflow I use: 1) Add a test 2) Run the test 2.1) if the run succeeds, go to step 1). 2.2) if the run fails, write some source code; go to step 2). 3)Done Note that the source code is the unit under test, not the test itself. Don't confuse TDD with normal unit test. In TDD, we create the unit test before creating the unit. The unit test should not pass before we have the unit.

    Best, Jun

    C# visual-studio testing question csharp business
  • Login

  • Don't have an account? Register

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