|
hi eddieangel,
First, you yourself should know what the actual function of WCF itself ...
as explained in the description of his by microsoft or mentors about WCF, as the data link service, the latest technology in addition to its webservice before ... this is a first-time assuming I know WCF, and certainly his most important in WCF is a service that with extentions. svc and its interface ...
there was DataContract or DataMember is the WCF its Properties,
and of her, you can add another Helper class calss-its,
You can add Business Logic or DataLayer like EF or Connection String or else it ....
and respond to your question, his answer is that you can express all of his in WCF ... whatever ..
I wish there was a little light to determine his or her choice in the style of your code ..
|
|
|
|
|
I'm writing using HTML5 and CSS3 and viewing using IE10 on Windows8.
Within an article with a constant width, and height set to auto in the CSS the more text I put in the more the 'height' of the article expands down the page to encompass it. This is fine for most pages e.g.: http://www.jgdprojects.co.uk/CANbusdesign.htm[^].
But now I want a 'Contacts' page with little text and a picture (img, jpg ). However the article doesn't expand to encompass the picture but stops when the text stops whilst the image overflows the background and border.
What am I missing to have it expand the article to encompass the image as well?
|
|
|
|
|
Hi All,
I am working on a website currently . this website needs to be coded again i.e. to say this website will be started afresh.
I need some help on latest trends that I can use in the development.
currently it is developed in asp.net, sqlserver, JQuery ,AJax, SOA.
PLease give some supportive suggestions : I am planning for MVC and entityframework.
apart from this i also need some help on writing optimised code to maintain security, speed etc.
Regards
Puja
website enhancement tips needed
|
|
|
|
|
Hello All,
I am not sure if my question would be appropriate with my title, but still I will try my best to describe. I am developing wordpress plugin which would give me the real time live visitors (which means peoples who are visiting my site at the moment). I don't know how to google it cause I think I am somehow messing up with the search key word, cause every time I put up a search it shows me paid adds. I know this is a simple logic I also know it has got something to do with the Javascript. I don't need the code I just need the logic here, can anyone help me on how to do this? Any help would be really appreciable.
Regards.
|
|
|
|
|
hi Tarek Showkot,
you can use it with SignalR technology ...
This will be more depth prior to its architecture SignalR ..
SignalR recommended for asp.net, and also for Java, such as gdi yan presented by its makers Damian and David ...
but if you're using PHP, you can see the following URL on the use of its in this URL ...
http://forums.asp.net/t/1904617.aspx/1?SignalR+from+PHP[^
|
|
|
|
|
Hello,
Making a plan new website which based on WordPress. I purchased new domain but i don't know who we can configure to WordPress panel on website. So please let me know how we can configure?
Regards,
David Kroj
|
|
|
|
|
|
This way is very costly as well as time taking process. Can you provide me any link and way how we can resolve that?
|
|
|
|
|
So, you want to configure WordPress panels on your website? Do you mean the Admin Panel, or the Options panel or do you mean one or more of those widgets? Or do you mean configuring WordPress Themes that effect the anatomy of WordPress (such as sidebars, tag clouds, menu's etc). This I why I gave you a reference to two books so you could yourself take the trouble to refine your needs.
And I will give you another reference ... DIGGING INTO WORDPRESS By Chris Coyier and Jeff Starr ... Go visit their website http://digwp.com/[^] where you will find masses of information.
David Kroj wrote: very costly as well as time taking process
Make the time. Spend a little bit of money on resourceful books etc. It will be to your benefit!
Nothing in computing is free. Take the time to read a book or two, if need be, get some video tutorials from YouTube (or CodeProject TV if there is any for WordPress), go to WordPress themselves and read some of their free tutorials. But then, as the company you work for claims to specialize in WordPress, ask them for literature to borrow.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
|
You should have said you were having troubles installing WordPress. That is a different question than "configuring WordPress"!
Also, for future reference, don't refer to anybody as "Dear", it is not the done thing! Some people here and elsewhere get quite annoyed when you do
modified 1-Aug-19 21:02pm.
|
|
|
|
|
|
Sorry, but all of your posts are nothing but spam and will be removed.
|
|
|
|
|
Why python is used?
I mean what actually the language can do?
-Toywarrior
modified 21-Nov-20 21:01pm.
|
|
|
|
|
|
Hello everyone,
I am a newbie to much of this so please bear with me. After much reading and googling my understanding is this:
A user at a pc using a browser is a client. the web page requested creates a connection at the server. the web page has text, images, sound etc each of which makes a request of the connection. Now in order to handle concurrent connections I understand a new thread for each connection can be used. Is there a mechanism [like multiple threads] that exists to handle each request for the different parts of the web page? Indeed is it even necessary?
modified 28-Jun-13 22:27pm.
|
|
|
|
|
In the good ol' days of Netscape, you could actually configure the number of concurrent connections. At that time, IE was pathetic, I believe allowing for only 2 concurrent connections, while Netscape allowed (by default) for up to 6, and therefore significantly outperformed IE. Mind you, I'm talking 13 years ago or so.
The interesting thing was, the number of concurrent connections was also in the [some committee's] standards, and Netscape actually exceeded that. Web servers could theoretically block too many connections, and in fact, in my analysis of some websites, did so. Which is a good thing, when you think about it.
Now, as to your question, each connection for a resource on the web page is handled by a separate thread on the web server, up to the limit of the thread pool on the web server. Now, the database connections (at least if they're written in .NET) have a connection pool as well, which may be different from the web server's thread pool, so you have to consider both the web server's thread pool mechanism as well as potentially the thread pool of the database, if resources are stored in a database rather than the file system.
And finally, the mechanism that handles each request as a separate thread is not necessarily implemented in the web server's application code--by the time the web server application gets the request, it's already running in a separate thread by virtue of the underlying TCP/IP "open" process (that is to say, the OS and/or the service that runs web server applications), so the web server application doesn't need to do anything more than handle the request.
And yes, it's absolutely necessary because (I believe) the service that handles the TCP/IP connection request is agnostic to who is making the request, so threading is necessary to ensure the performance of all connection requests, regardless of the source. Obviously, the aforementioned "don't allow more than [x] connections per client" does pay attention to who is making the connection request. But other than blocking too many connections, I believe everything funnels through the same process.
Hopefully people who know more about this than me will correct any errors I've made in this discussion!
Marc
|
|
|
|
|
many thanks Marc. So if i were to write my own server would it be enough to have the main process just looping forever accepting any connection request and pass the socket descriptor to a new thread it would create to handle the connection request. ie a client requests a web page, a new thread is created and each further request for items making up the web page would be treated as another connection request such that a further thread would be created.?
Assuming this particular web page was made up of 3 things:
a .txt file
a .jpg image
a .mp3 sound bite.
Oh yes, and i'm on winxp.
|
|
|
|
|
Are you writing your own web server, or an application living in a web server like IIS?
If you're writing your own web server (that is, implementing your own TCP/IP connection protocols) then usually you create a thread that then calls the "wait for connection" .NET framework API (or whatever framework you're using) which is blocking. You supply a callback method, which the API function will call asynchronously (so it lives in its own thread), and there you handle the request and exit the thread when done.
If you're writing an application using something like IIS, then you don't have to worry about all this - you just let the web application framework handle all this. You would then "simply" associate a route (a URL) to a specific function that handles the URL.
There's lots of examples here on CP, I would suggest poking around and getting familiar with both how to write a web server and also how to handle resource requests in a web application.
Marc
|
|
|
|
|
thank you Marc. I was going to have a go at writing my own [simplified] web server [akin to Apache]. I have done a few progs that use multiple threads so for my learning this is my next step.
I will search here for some examples.
I [think I] get the idea of a new thread for each
"select ( 0, &ReadFDs, .../ accept ( sockfd,"
[i.e. connection?] coming in - one for each client [ie separate browser] but my trouble comes with the handling of the different parts of what makes up the web page. For instance if an SQL call was required would this thread do it or would its function end when it sent the .html file and then would the clients browser go through the .html file and make requests of the server for each URL contained within the .html the servers new thread sent it.? Perhaps I'm not explaining my problem clearly.
Anyway Marc thank you for taking the time to help. It really is appreciated. Now for some searching...
|
|
|
|
|
Penny dropped, what a total wally! Shoot me pls!
|
|
|
|
|
I have developed a web application with a lot of data viewing and sorting functions, but I need to give the users the ability to request reports. The reports are quite large so they can nae sit and let them run synchronously, so I was thinking about a reporting engine allowing queueing of reports, monitoring report status (Limited status that is), and a notification when the report is done via SMTP probably, though I might choose to alert them another way, I am unsure right now.
I have not worked extensively with web services, so I am drawing a bit of a blank on where to get started. I have built my service application and added the EF data model. I was thinking the next step would be to build the engine that accepts or retrieves the data and runs the reports, I am just not sure how to publish that functionality so that it can be consumed by the website.
I don't need anyone to write for me, just point me in the right direction. I spent time on Google, but most of what I came up with was reference to Telerik reporting or creating a WCF data service for SSRS.
Cheers, --EA
|
|
|
|
|
Hi,
I have added a custom cancel button for closing a form. On click of cancel I have added code as below:
window.frameElement.commonModalDialogClose(0,'Cancel');
Also, I have tried with the below code.
window.close()
Both didnt close the form.
Please help.
Many thanks
|
|
|
|
|
This could be browser dependent.
Have you tried your page in different browsers? IE, Chrome, Firefox, Safari
Hmmm ...
|
|
|
|
|
David Mujica wrote: This could be browser dependent. Have you tried your page in
different browsers? IE, Chrome, Firefox, Safari
Yes tested in different browsers and its the same result.
But hey I got it fixed by using
SP.UI.ModalDialog.commonModalDialogClose(1, null);
Anyways thanks for responding
|
|
|
|
|