|
I don't see the problem with posting to different sites. It's when a question is posted to multiple forums on the same site that it gets annoying.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
our company has website which has been developed by asp.net web form and hosted in shared location in ORCSWEB company. web site has a specific page from where people upload their CV. when a new CV is uploaded then few entry stored in database and cv file stored in folder where our web site hosted. database is also maintain at ORCSWEB end.
i have developed a win service which run in our office and it periodically query the remote database for new CV. if found any then it will download that CV file in local machine and as well as remote cv data from remote db to local db and update a filed called isDownloaded=1 in remote db as a result next time that same records will not be queried or checked.
the whole web part and win service part working fine but now our IT head want to change in web & win service logic bit.
he wants that when any new candidate upload their CV through our site then a notification will be send to our win service after 5 minute from web apps. after getting notification from web apps then win service will download the cv.
now i am not being able to thing how to design our web apps which can send some notification directly to our win service which is running in our office because there is no physical connection or accessibility between two pc where our win service & web apps are running. our win service is running in our private network and web apps is hosted in another company machine.
some told me this can be achieve through WCF but did not guide me how to develop this kind of bridge between win service & web apps through which communication will be possible.
i know lots of experienced & scholar developer always monitor this site and that is why i like to ask them how this problem can be sorted. what logic i need to use to send notification from our web apps to win service.
so please guide me with all possible way to develop a system which solve our purpose. discuss all possible way like wcf or anything else which can be use to develop apps which enable me to achieve our goal. looking for elaborate discussion and guidance. if possible give me few sample code & links which give me idea to write code for our situation. thanks
tbhattacharjee
|
|
|
|
|
In order to do what you want, your windows service is going to have to become a WCF service and will need to be setup pretty much like a web site would be.... So, what you are creating is a two way system...
Think of it like this...
You currently have...
Client -> Server.....
Client can send out and server can respond...
If server could Client <-- Server.. then client would not have any way to listen of respond... now you could add your own sockets and listen.. etc.. but that is reinventing the wheel.
Or even time based checking is a option..
What I think you want is
Server<--->Server.
Both can talk at any time and the other one will know when to listen.. this is what WCF will do... it will allow you to listen to server based events from your remote machine.. you will have to turn your web servic/client into a server...
Check out this article, it explains more about it.
A Beginner's Tutorial for Understanding Windows Communication Foundation (WCF)[^
=)
|
|
|
|
|
Hi! I can't start Web Site Administration Tool.
I suspect that maybe SQLserver isn't installed properly.
|
|
|
|
|
Do you get an error?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Yes, but I can't check right now.
However I think it could have been something concerning SQL server.
I have Web express 2010. If you didn't include that in the install, can you do it after?
|
|
|
|
|
Quote: If you didn't include that in the install, can you do it after? Sure.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote:
If you didn't include that in the install, can you do it
after? Sure.
But how?
|
|
|
|
|
What do you mean? How do you install SQL?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I'm trying to help others and they seem to have SQL server installed but still there is a problem with Web Site Administration Tool.
I was thinking that maybe there is a problem in the connection.
|
|
|
|
|
You'll need to get the error. There are millions of reasons something might not work so you have to start with the error.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hello,
Please accept my lack of expressiveness, I am a newbie to posting on forums. I have an ASP.NET application with a problem and your help might come in very handy.
A gridView statically bound to a datasource but during runtime, I add rows dynamically as group separators. Ex. the datasource retrieves 24 rows that can be classified into 4 groups, so I dynamically add a header row ahead of each group of data rows. Now this should make the total count of the gridView rows 28 but this is not the case. It remains 24 as is.
The gridview has a column of checkboxes that I need to store their values, I do a
foreach(GridView row) but the loop stops before reaching the last 4 rows and in the "watches", the GridView.Rows.Count is 24 not 28.
Does anybody have an explanation for this? Your help is very much appreciated.
|
|
|
|
|
in asp.net crystal reports -unable to see more than 2 pages in reports ,but when I type page number then it shows correctlly.
|
|
|
|
|
do you mean to say, when you are click on the next button nothing happen ?
Thanks
-Amit Gajjar
|
|
|
|
|
Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
Source Error:
Line 66: CrystalReportViewer1.LogOnInfo = crTableLogonInfos;
Line 67: string sid=Convert.ToString("MU-057-0005");
Line 68: cryRpt.SetParameterValue("StructureID", sid);
Line 69: CrystalReportViewer1.ReportSource = cryRpt;
Line 70: CrystalReportViewer1.RefreshReport();
Source File: d:\Updated SRS website\Reports\Rep_DemolitionList.aspx.cs Line: 68
Stack Trace:
[COMException (0x8002000b): Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))]
CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0
CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +78
CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +99
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +305
Rep_DemolitionList.Page_Load(Object sender, EventArgs e) in d:\Updated SRS website\Reports\Rep_DemolitionList.aspx.cs:68
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
|
|
|
|
|
I want to consume RESTlet Web Services in ASP.NET 3.5 to push data with JSON parameter. Actually i never ever use RESTlet in ASP.NET.
Can anybody help me out?
|
|
|
|
|
from where you want to consume the service? from the client you can send an ajax request like below
var jsonStr = JSON.stringify(reqObj);
$.ajax({
type: "POST",
dataType: "json",
url: "http://localhost/MyService/PostSomething",
contentType: "application/json; charset=utf-8",
data: jsonStr,
success: function (html) {
alert(html);
}
});
From the server you need to send an HttpWebrequest
modified 2-Sep-13 12:28pm.
|
|
|
|
|
Dear,
Scenario is: We have to push data through a web service which is already developed in RESTlet by some other client. And we have to consume it in ASP.NET in our ERP. The parameter shall passed to web service is JSON format.
The only question from my side is:
1): How we consume the RESTlet Web Service is ASP.NET. Developed by by some other client.?
2): Where we will call it.? bcz some people suggest in ".CS" & some one suggest in Html page. I am beginner & little bit confuse.
Kindly help me out.? Implementation at our end is very critical.
|
|
|
|
|
It depends upon your requirement.What are the functionalities you try to achieve through webservices?
|
|
|
|
|
I want to call the Restlet service to push data on vendor server. How & where should we call the following in ASP.NET in C#:
https://xx.xx.xxx.com/app/site/hosting/restlet.nl?script=78&deploy=4&MyData=
MyData Format(JSON):-
[
{
"Name":"John",
"DOB": "20/09/2013",
"Age":"28"
},
"Name":"Kies",
"DOB": "20/08/2013",
"Age":"23"
}]
Please Help me out...........
modified 24-Sep-13 3:29am.
|
|
|
|
|
|
code to send email form contact us page..
having : Name :
Conatct No:
Message:
in asp.net mvc4
|
|
|
|
|
|
5ed!
--
If money is your hope for independence, you cannot reach it.
Being loved gives you strength,
while loving gives you courage.
|
|
|
|
|
Hi i have a web application which works with http extension.I want to make it work in https.Please share steps which are required to achieve this
Chandra Sekhar
|
|
|
|