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

jqd2001

@jqd2001
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Server GC vs. Workstation GC
    J jqd2001

    Mike, Thanks for your "real-time" response. I have read both articles: The 1st is great in concept and the 2nd has usable code. My Company blocked Blogging so I have to wait till after 6pm at home to read. I basically modified Steven Pratschner's code and made a Windows Services (.net) that calls Unmanaged API CorBindToRuntimeEx to run a remoting host code. (Just like you said). It really works as a TCP Remoting Host. Though My problem is that I would rather not use my code since it does not have PROVEN scalability in production.(and I do not have 8-CPU machine anyway) Is there any code I can download that has been proven ? Thanks James PS. I have no problem upload my code onto www.codeproject.com, so that we developer can improve and test it in this community.

    .NET (Core and Framework) tutorial csharp visual-studio sysadmin performance

  • Server GC vs. Workstation GC
    J jqd2001

    Hi, Everyone, I read from a Microsoft guide on Performance (www.serverside.net) and it says that Windows Services uses Workstaton GC even Server has multiple CPU. The conclusion seems to be that we should not host TCP Remoting in WinSvcs. My Questions: (1) Is the above true or false ? (I have seen various opinion on this) (2) How to configure to use Server GC ( I have some idea but not sure about it. But I will open source it so everyone can comment later. Your open minded comment are greatly appreicated. Thanks James

    .NET (Core and Framework) tutorial csharp visual-studio sysadmin performance

  • Checking an objects inheritance
    J jqd2001

    Can you try if (typeof(pTable).BaseType !=typeof(DataTable)) .... James

    C# oop question learning

  • Thread ID for current thread
    J jqd2001

    I used the following two: System.Diagnositics.ProcessThread Id Property AppDomain.GetCurrentThreadId() The former is OS Thread ( so Process) The latter is CLR Thread ( so AppDomain) Is that what you are look for ? Any other ways ?? James

    C# mcp tutorial question

  • XML via Socket?
    J jqd2001

    Heath, I think in addition, Formatter sink are used to serialize IMessage, have nothing to do with the XML in IMessage. ie. You can even transmmit XML using BinaryFormatter. Transmitt XML using Socket is realistic since mobile device may not support remoting. Correct me if I am making mistakes Thanks James

    C# xml question

  • WebSvcs : Dynamic
    J jqd2001

    Heath, Thank you for the great idea. I actually tried to extend SoapHttpClient as you said: public class MySoapHttpClient : SoapHttpClient { public string TestWebMethod() { this.Invoke("TestWebMethod", ...);} } and use it as MySoapHttpClient obj = new MySoapHttpClient(); obj.Url ="http://localhost/WebService7/Service1.asmx"; obj.Discover(); string s = obj.TestWebMethod(); It works fine. But I cannot replace the signaure "TestWebMethod" with a generic one "Invoke(string MethodName)". Does it mean that Binding must be reflected in the proxy ? Or there are some ways to go arround. James

    C# csharp wcf com question
  • Login

  • Don't have an account? Register

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