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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

Gilad Kapelushnik

@Gilad Kapelushnik
About
Posts
32
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0)
    G Gilad Kapelushnik

    Well... this is kinda tricky.. in the System.Threading 2008CTP you could see the TaskManager and it actually had properties for Threads-Per-Cpu under

    System.Threading.Tasks.TaskManager.Current.Policy.IdealThreadsPerProcessor

    but for some reason it wasn't possible see the default taskManager nor to access those values (read-only) or create a TaskManager of your own. In the 2010 beta there is no TaskManager... hmmm... I couldn't find any similar object that might do the same job. What is going on???

    C# csharp asp-net tutorial

  • How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0)
    G Gilad Kapelushnik

    Hi, I'm experimenting with the new System.Threading.Parallel methods like parallel for and foreach. They seem to work nicely but I need a way to increase the number of concurrent threads that are executed which are 8 (I have a quad core). I know there is a way I just can find the right property. Gilad. P.S. Please don't write that more threads won't give better output, I already have got a bunch of those.

    C# csharp asp-net tutorial

  • WCF: Using a custom threadpool
    G Gilad Kapelushnik

    Hi, When executing a webmethod, WCF queues the operation to the system thread-pool for execution. Since the thread-pool supplied with framework 3.5 is very limited, is it possible to supply a custom thread-pool to WCF? Gilad.

    WCF and WF csharp wcf question

  • WCF: Getting the instance in InstanceContextMode.Single mode
    G Gilad Kapelushnik

    Hi, I'm running a Win-Service and exposing a Web-Service that is configured with:

    [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,
    ConcurrencyMode = ConcurrencyMode.Multiple,
    UseSynchronizationContext = false]
    public Class AAA : IAAA{...}

    and an end point (in the App.config):

    <endpoint address="http://localhost/AAA"
    binding="BasicHttpBinding"
    contract="IAAA"/>

    I have the need to get (or create if it hasn't been created yet) the instance from within the running Win-Service. Is there any place I can get the object reference from? Is there a method I can use to assign the object 'manually' within the Win-Service to act as if it was created by the WCF framework (without manually creating the ServiceHost object) Tnx for your help. Gilad.

    WCF and WF wcf csharp wpf help question

  • JPEG Decoder\Encoder in C#
    G Gilad Kapelushnik

    I thought about porting the code but since the source in C is around 15000 lines filled of complex memory and mathematical operations I have no doubt that doing porting without mistakes will be quite a challenge.

    C# csharp c++ question

  • JPEG Decoder\Encoder in C#
    G Gilad Kapelushnik

    The deal is I need the code as I want to develop a variant of the original JPEG format. I want the source code because I don't want to start from scratch.

    C# csharp c++ question

  • JPEG Decoder\Encoder in C#
    G Gilad Kapelushnik

    Hi, I've searched high and low and couldn't find any source code for encoding\decoding JPEG files for C# (although found plenty in C\C++) I know that this format is widely supported but I would like to have the source code for reading such a format. Any ideas ?

    C# csharp c++ question

  • SQl Express or Everywhere
    G Gilad Kapelushnik

    Hi Mike, Thanks allot, you really hit the nail on its head. I guess SQL everywhere\mobile isn't the solution for my situation. Is SQL Express "Deployable" ? The client application is a "Click-One" App. Do I need a special liciense in order to use it on the client end ? Thanks Gilad.

    Database database sql-server sysadmin json question

  • SQl Express or Everywhere
    G Gilad Kapelushnik

    Thank you for your quick answer. At the moment the database is ~200MB growing at a rate of 80k per day, thats about 30MB a year, not too much. 99.999% of the data never changes so I would like the history data to stay on the client side. The client gets all the data it needs and just the data it needs, nothing extra. This is very optimized. I have many users accessing the database at once and would like only to send them the 80k daily "update data" rather then all the data. Gilad.

    Database database sql-server sysadmin json question

  • SQl Express or Everywhere
    G Gilad Kapelushnik

    Hi I have an SQL database under a MS2005 SQL Server. This is a ~200MB databse that grows from time to time, only one person (Administrator) adds\removes data from this database. On the other side I have a client application that uses this database. At the moment the the SQL database is locked and has stored procedures as an "API". Since allot of users accessing the data is CPU consuming and takes allot of bandwidth I would like to have the database localy on the clinet side, *locked*, enabeling only the execution of the stored procedures with an option to sync' with the main database on the SQL server. The end user can't add\remove items from the main\local database nor does he have the login\password for his local database. I started looking into this and found SQL express and SQL mobile (everywhere). My quersion is, which of the above is more suited for my application ? Thanks, Gilad.

    Database database sql-server sysadmin json question

  • Saving\Reading Configuration parameters in a WebService.
    G Gilad Kapelushnik

    Hello. I'm writting a web service which is constructed of some DLLs. Each dll has its configuration properties. I would like to be able to save & read these configuration paramaters in files (a file for each DLL) during runtime. I found endless classes from Framework 2.0 that claim to do this but haven't found nothing that saves the configuration to a simple file and reads it back in a simple manner. In the Configuration namespace I found a way to save paramaters. I constructed a ConfigurationSection and was able to save it into a file but found no way to read it (very strange to find a SaveAs mathod without a Read method). Just saving it would create a XXX.exe.config which isn't going to work for the webservice. Any ideas ? Gilad.

    ASP.NET question workspace

  • 2005 Settings & WebService
    G Gilad Kapelushnik

    Hello. I have a WebService (VS2005) constructed from some DLLs. Each DLL has its own settings (these DLLs are services used in various applications and tasks so I can't have the settings paramaters in one single file). When I use the DLLs with a Form applications or Console applications everything works fine. when I try them out under a web service is get an error stating that the settings parameters can't be "User-Scoped". I can't have the settings under Application-Scope as I need them to be changed at run-time. How do I set up setting parameters so they are still read\write for the single instace of the webservice (the webservice is run as a singleton) ? thanks. Gilad.

    ASP.NET question help

  • WebService access permissions
    G Gilad Kapelushnik

    Hi This is my second option. I wouldn't want users that *DO* have authorazation to use the WebService to use it without the specific application that I give them. I want the users to be able to use the webservice ONLY with the special application I provide. Gilad.

    Web Development sysadmin help question

  • WebService access permissions
    G Gilad Kapelushnik

    Hello I have a webservice exposing various methods. I also have a win application (Click-once) that uses the webservice methods. I would like to prevent any other access to the webservice so no other user\client can invoke the methods. I do not want to manualy check this on the server side but would more like to have a strong name signing between the webservice and the windows application. Any one can help on this ? Gilad.

    Web Development sysadmin help question

  • Recycle an Application pool from C# (IIS6)
    G Gilad Kapelushnik

    Hi I would like to recycle an application pool from inside my code (C#) without running scripts or strange patches involving changing dates on config files. Is this possible ? Lets assume I already know the application pool name. 10x Gilad.

    ASP.NET csharp question

  • Source Code for stock chart
    G Gilad Kapelushnik

    Hi There are allot of tools around for displaying stock charts, I was wondering if there is anything free out there that includes source code ? Gilad.

    C# tools question

  • Change the process name w3wp.exe
    G Gilad Kapelushnik

    Hi I'm running a WebService server written in C# using IIS6. The server as it's own pool. When I try to run multiple servers (each in a different pool) everything run fine but the process name is w3wp.exe for all the processes. having all the processes with the same name makes it harded to debug and maintain the whole system (especialy when there are 15+ servers running). Is there a way to change the name of the w3wp.exe process ? thanks. Gilad.

    Web Development csharp sysadmin debugging question

  • Remote debuging when the remote computer isn't in the domain
    G Gilad Kapelushnik

    Hi. Well, the subject says it all. Where do I enter the account user\password which is different than the account I'm loged onto in the local computer. (I set up all the requierments regarding debuging group as stated in various help files I found) tnx. Gilad.

    .NET (Core and Framework) help

  • Restarting a Web Service without restating the IIS
    G Gilad Kapelushnik

    Guffa wrote:

    Why do you want to restart it? If you don't want to restart the process, what is it that you want to restart, really?

    Other than the web service I'm also running a "Watch Dog" service that monitors the web service and restarts it if the web service failes to replay\function for any unknown reason. I need the watch dog service to progrematicly restart the service. The watch dog is a very simple app and its chances of failing are very low. Gilad.

    Web Development question asp-net wcf windows-admin

  • Restarting a Web Service without restating the IIS
    G Gilad Kapelushnik

    Hi Is there a way to restart a single Web Service without restarting the whole IIS ? At the moment the way this is done by manualy killing the process aspnet_wp.exe. By killing aspnet_wp.exe the webservices are restarted, is there are way to restart a single webservice even if there are other web services running under the same aspnet_wp.exe ? How do I run a webservice under it own aspnet_wp.exe ? Thanks Gilad.

    Web Development question asp-net wcf windows-admin
  • Login

  • Don't have an account? Register

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