15,917,320 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Yonathan1111 (Top 72 by date)
Yonathan1111
7-Feb-22 8:25am
View
thanks for your reply, and I apologize for my late response...long story in short..we resolved the issue...what we did is we deployed a datalayer api that runs on the each machine and our main/centeral api connects to this via a REST protocol..so the main game changer here is that we used to establish a direct odbc connection to those machines and replaced this with REST API..so in other words, the actual data fetching queries reside within each machine does not appear in the wire...
Yonathan1111
2-Apr-21 7:35am
View
Hi, I did not make any assumptions, we have tested our system within the local area network and it performed well and the legacy system does not have any performance problem.
The problem comes when users use ours from a different network due to two or three cases as I have mentioned under the above comment.
Yonathan1111
2-Apr-21 7:26am
View
Okay, I thought I was clear on my statement, but here I will try to explain more what we identified so far as our main performance problem.
1. Network Latency: This is the major and known problem that we have because many branches are performing seamlessly or their response time is acceptable for users as well as it is matching the standards.
2. Query: This is another area where we are working as a team there are some queries that need to be optimized.
We are not guessing nor
Yonathan1111
4-Sep-19 6:45am
View
Hello Afzaal,
I really appreciate and it is a great input for me what you have recommended, so I continued working on it, however, I have a sample working project whereby an Mvc-Client get authenticated by an IdentityServer4 and it uses OpenId, what I have noticed is when a link is get clicked it navigates to a login screen withing the identityserver4 application, so my question is what is really happening?
Yonathan1111
7-May-19 5:28am
View
So in my case i have identity-server4 that is responsible for both authentication and authorization..the architecture here i have is microservices, some are developed using nodejs and some are .netcore..so i needed to secure the entire system using identity-server4 which is the end-goal.
I have achieved this for the .netcore services, and the next task is to secure the nodejs services..that is why it seams it got mixed..
tokens are managed by the identity-server, per my knowledge other services have to be register themselves as api-resource onto identity-server so that they can secure their endpoint when client apps try to access them.
please correct me if i miss the concept here..thanks a lot
Yonathan1111
6-May-19 6:44am
View
Dear Christian,
I wen half of the task, and it was motivating to see the values..here below I have attached piece of code..I am now somehow stacked please give me some clues how I can proceed..
const { Issuer } = require('openid-client');
Issuer.discover('http://localhost:9011/') // => Promise
.then(function (hisabIssuer) {
console.log('Discovered issuer %s %O', hisabIssuer.issuer, hisabIssuer.metadata);
const client = new hisabIssuer.Client({
client_id: 'zELcpfANLqY7Oqas',
client_secret: 'TQV5U29k1gHibH5bx1layBo0OSAvAbRT3UYW3EWrSYBB5swxjVfWUa1BS8lqzxG/0v9wruMcrGadany3'
}); // => Client
client.authorizationUrl({
redirect_uri: 'http://localhost:9011/connect/authorize',
scope: 'api1',
}); // => String (URL)
});
the question i have is how I can register my client application to the nodejs app so that it can get the access on a specific endpoint..in other words how do i authorize an endpoint on the nodejs app since all the authentication and authorization is handled by identityserver as you can see it from the code..thanks in advance..?
Yonathan1111
3-May-19 5:21am
View
great! then i can achieve what i desire..thanks a lot
Yonathan1111
3-May-19 5:14am
View
dear christian, can I register my node-app to identityserver
when it launches?
Yonathan1111
20-May-17 12:30pm
View
Okay..I don't have such experiences for the past 7 years and that is what I am trying to tell you..and if you carefully see the change logs at your side you can find the changes..at least I have tried to make corrections on the title..
Yonathan1111
20-May-17 9:35am
View
Dear OriginalGriff, I don't know why you took it this way at least you may have the chance to question me for such a case..all I needed is to get a concept not even a piece of code..I did not urge or included words that are not allowed in codeproject rules..I have tried to be polite as possible as I can..it is bizarre that I'm getting such response lately..I have a 7 years of history with codeproject..and getting such response is rude..English is my second language..and I apologize for my poor language skill..as you have said I have no intention to get my question on top rather fix the expressions that I used in...thanks..
Yonathan1111
3-May-17 10:59am
View
i am very sorry, if i am not clear enough, what detail do you want to know, I have added or created a SettingActivity template into an existing project and hooked it.
when i try to open it, it does, but the header part is not displaying....i have coded nothing it is a default template from android studio.
Yonathan1111
22-Feb-17 6:07am
View
steps or algorithms that I can adapt so that I can intercept ussd messages, the whole purpose of the project is to read ussd response.
Yonathan1111
9-Dec-16 3:14am
View
okay, I will post what the correct data could look like later on.
Yonathan1111
20-Jul-16 4:33am
View
Dear RickZeeland,
That helps a lot, my understanding is now that it is somehow hard to recreate a field at destination with its original order from source. I have tried but it did not work out, please look at it, and deleting the respective table and recreating it is not an option.
e.g.:
tblDestination.Columns.Add(missingColumn, 2); // the number 2 is the position, however either it creates me an exception, or creates it at last order.
Order is mandatory, that is why I'm insisting.
Thanks a lot.
Yonathan1111
20-Jul-16 3:25am
View
Hi all,
I appreciate all your efforts to help me through, just to be clear, is that even possible to create the missing column at destination with the position with the original position that comes from source database?
For example: table1 (source) has firstId at 2nd position, and table1 (destination) has three fields or columns, and I wanted to create the missing column (firstId from source) into table1 (destination) at exactly 2nd position.
Thanks
Yonathan1111
5-Oct-14 9:40am
View
Am I not clear enough, still?
Yonathan1111
5-Oct-14 6:40am
View
I've all the needed access to the resources, the problem is just me, I do not know how to implement Elasticsearch in such circumstances. The system I've is a web application, based on the legendary MVC pattern. I've working version of Elasticsearch, and did the famous MVCMusicStore application, however, when I start to implement it to my own system, I couldn't figure it out. The Repository infrastructure is the following: http://sonyarouje.com/2010/10/15/generic-entity-framework-repository-with-eager-loading/.
Yonathan1111
8-May-14 7:38am
View
Does the code will avoid the situation that I'm experiencing? Because the code I have is working fine with the AD authentication, once a credential mapping is done, it only fails for the first time, if the credential is not mapped.
Yonathan1111
8-May-14 7:33am
View
OK Thanks! I hope I will find a way to overcome this situation.
Yonathan1111
28-Feb-14 13:32pm
View
OK, it seems appropriate, I will consider it in my design. Hope, I will post my implementation when the time comes.
It was a great help, thanks.
Yonathan1111
27-Feb-14 23:36pm
View
As per my understanding, you are correct to the extent of having my own a piece of sorting code, however, the code eventually will end up as part of my rdlc report sorting configuration. If my question was not clear enough, let me put it in this way, can I modify the rdlc report at runtime? I have seen, a sample project which dynamically, generates the rdlc report, the only difference is that I have already the report in hand, I don't want to fully generate the report at runtime again.
Thanks
Yonathan1111
29-Jul-13 9:07am
View
Off-course there is no such API to the system, hence, it is the API I want to build for myself as part of my system.
Yonathan1111
29-Jul-13 9:07am
View
Off-course there is no such API to the system, hence, it is the API I want to build for myself as part of my system.
Yonathan1111
29-Jul-13 9:07am
View
Off-course there is no such API to the system, hence, it is the API I want to build for myself as part of my system.
Yonathan1111
29-Jul-13 8:43am
View
Not yet, but that is what I want to have in future.
Yonathan1111
4-Jul-13 11:51am
View
It has been fixed, now. I can provide and configure my report with multiple data-sources with their corresponding sub-reports.
Yonathan1111
21-May-13 8:16am
View
Hi, Thanks a Lot.
It worked.
Yonathan1111
20-May-13 12:53pm
View
Thanks,
Here is my attempt, but it did not work out.
string ext = Path.GetExtension(@_path);
FileSecurity fSecurity = File.GetAccessControl(_path);
fSecurity.AddAccessRule(new FileSystemAccessRule(Environment.UserName,
FileSystemRights.WriteData, AccessControlType.Allow));
// Set the new access settings.
File.SetAccessControl(_path, fSecurity);
string file = String.Empty;
using (StreamReader sr = new StreamReader(File.Open(@_path, FileMode.Open)))
{
file = sr.ReadToEnd();
using (StreamWriter sw =
new StreamWriter(File.Create(@"Test.doc")))
{
sw.Write(file);
}
}
}
catch (Exception)
{
}
Yonathan1111
1-May-13 12:47pm
View
Thanks lewax00, I am going to try it. Thanks a lot
Yonathan1111
1-May-13 10:57am
View
my intention was to Prepare a training Data for the HMM tagger, for a local corpus (ethiopic)
the tagger has the following syntax:
tagger = trainer.train_supervised(tr_data)
where the parameter tr_data should be in the format of List of List of Tuples
like, tr_data = [sent1, sent2,...]
where sent = [tuple1, tuple2],
and tuple = (word1, tag1), (word2, tag2),...
i have tried the following script, but all i get is just list of tuples, rather than list of list of tuples.
here is my script
import nltk;
wordtag = open("B:\Python\Teacher\Amharic_tagged_tr_corpus.txt","r");
wordtag = wordtag.readlines();
wordTagList = [];
for wt in wordtag:
wordTagList.append(wt.strip("\n"));
sentlist = [];
for w in wordTagList:
sentlist.append(nltk.sent_tokenize(w));
tuple = [];
for s in sentlist:
for w in s:
tuple.append(nltk.word_tokenize(w));
tuplelist = [];
for t in tuple:
for w in t:
tuplelist.append(nltk.tag.str2tuple(w));
print tuplelis[0:3] will list list of tuples like, [(w,t),(w,t),...] , where what i need is [[(w,t), (w,t), ...],[],..]
any help?
Yonathan1111
30-Nov-12 5:23am
View
Both the interface and WCF apps were together in a project, I have broken-down this project, now the WCF is running as windows service independently, and the interface is another project. I hope I have answered your question, did I?
Hallo Ravi, was not my answer satisfying? Please tell me, if there is any miss understandings.
Regards
Yonathan1111
1-Jun-12 10:12am
View
Many thanks for all of you.
Yonathan1111
27-Mar-12 12:26pm
View
Hallo Sastry_Kunapuli
I don't understand your question exactly, do you mean programmatically accessing those sections? If yes, how?
Thanks
Yonathan1111
14-Mar-12 13:53pm
View
Hi shabibrazz
I am referring to the column header.
Thanks
Yonathan1111
9-Feb-12 9:36am
View
I am anticipating your reply. I am willing to do my best.
Please, do not stop in the middle.
Thanks a lot
Yonathan1111
8-Feb-12 11:08am
View
Yes, I have. How do you want me to provide it to you, just a screen shot?
Yonathan1111
7-Feb-12 11:27am
View
Ok, all I want is a technique which can possibly lead me to design in such a way. I would love if I could provide you a bit code, but there is no code. It is just a design. However, this may help you to think what I thought to do. The data source for the report is a datatable of a dataset.
Thanks a lot
Yonathan1111
19-Oct-11 3:16am
View
Hi Amir,
I have already tested in those cases you mentioned before my post. If you are suggesting these cases, that means I was doing correctly. Now, this is showing me that there is a problem at my design. As you can see at my post the pseudocode of the stored procedure creates two tables, actually these two tables are built from same table in this case X and Y tables, but both are same tables. My wish is to create Table_1 and Table_2 get some fields from each table and put them on a table which can accommodate those fields. Now, you can help me in designing my SP.
I thank you for your comment.
Yonathan1111
16-Oct-11 9:34am
View
Hi Amir,
Not actually, it doesn't work. I just preferred not to use words like Join, or others. However, you are right I will correct it.
Thanks
Yonathan1111
16-Oct-11 9:24am
View
Hi Abhinav,
The UNION operation is not suitable with my other stuffs, but I liked your second suggestion even-though I didn't know how to do it.
Thanks
Yonathan1111
7-Sep-11 1:38am
View
It is Forms authentication. Why do you ask?
Thanks
Yonathan1111
4-Sep-11 5:39am
View
Hi, wasn't that helpful? I have tried to improve my original question. Please let me know if there is any problem.
Yonathan1111
3-Sep-11 5:21am
View
I accepted both points you depicted.
I will modify my question: I am going to add the stored procedure definition.
Thanks
Yonathan1111
3-Sep-11 5:01am
View
1. I would like to know the reason why I shouldn't use Parameter.Add.
2. Can you please state what you meant by the definition of the stored procedure?
I am happy to discuss even if the the problem got resolved.
Thank you
Yonathan1111
3-Sep-11 4:56am
View
It worked for me.
I thank you very much.
Yonathan1111
29-Jun-11 4:39am
View
Hi strogg,
Thank you for your advanced help. I didn't get time to reply you immediatly a soon as I see your message. I could't download it, anyway I thank you very much.
Yonathan1111
20-Jun-11 6:36am
View
Here it is how I tried,
DataSet1 ds = new DataSet1();
DataTable dt = new DataTable("DataTable1");
dt.Columns.Add("firstname");
dt.Columns.Add("lasttname");
DataRow dr = ds.Tables[0].NewRow();
dr["firstname"] = "Reportviewer";
dr["lastname"] = "Microsoft";
dt.Rows.Add(dr);
ds.Tables.Add(dt);
ReportDataSource rds = new ReportDataSource("DataSet1_DataTable1", dt);
ReportViewer1.LocalReport.DataSources.Add(rds);
ReportViewer1.DataBind();
I just created a DataSet called DataSet1 and a Table called DataTable1 as you said.
I think you better send me your demo.
Thanks
Yonathan1111
17-Jun-11 2:47am
View
Ok,
I will try to be more clear. The system I am developing gets its data at runtime, which means I feed it up dynamically (programmatically), I have to use a Dataset.
Thanks
Yonathan1111
16-Jun-11 2:35am
View
I first say sorry for my delayed response.
I have been working on ReportViewer control, the example I found uses BindSource object found in the Data section of Toolbox. By the way it is a windows application.
You may see it and say something on. Here is the source link http://aspalliance.com/762. What I wished is, I want to adabt the idea into Asp.Net application, however, I couldn't find this object.
Thanks a lot,
Yonathan1111
4-Jun-11 11:29am
View
Not yet,
Yonathan1111
4-Jun-11 10:58am
View
I found it your answer as critical point. So, I need to give you some additional information about the environement I am working on.
1. VS 10 .NET Framework 3
2. Crystal Report 13(Version), but I found other two versions of CR in the assembly folder which are 10 and 9.
Thanks a lot,
Yonathan1111
4-Jun-11 2:44am
View
When I use VisualStudio's internal server it works, but when I host it on IIS it is not working. I think the problem I am getting is IIS configuration for crystal report. (I am not seeing any error, just not showing up), the place where the crystal report should be visible is empty.
Many thanks,
Yonathan1111
3-Jun-11 12:47pm
View
White page displayed, only
Yonathan1111
3-Jun-11 12:46pm
View
No error I have seen,
thanks
Yonathan1111
1-Jun-11 4:17am
View
Visual Studio 10 and Microsoft ReportViewer 2010 Redistributable (10.0.30319).
I think I found the version, actually there are three versions of ReportViewer Controls in the Assembly by the name of Microsoft.ReportViewer.WebForms, which are (9.0.0.0, 8.0.0.0, and 10.0.0.0).
But, I don't know what to do.
Thanks
Yonathan1111
1-Jun-11 3:46am
View
I think I found the version, actually there are three versions of ReportViewer Controls in the Assembly by the name of Microsoft.ReportViewer.WebForms, which are (9.0.0.0, 8.0.0.0, and 10.0.0.0).
But, I don't know what to do.
Yonathan1111
1-Jun-11 3:40am
View
Visual Studio 10 and Microsoft ReportViewer 2010 Redistributable (10.0.30319).
I am not certain how to get the version of the ReportViewer Control.
Thanks
Yonathan1111
31-May-11 7:59am
View
Ok, I will experiment the first one and nope for the second one(I didn't try runat="server").
Thanks for your quick answer
Yonathan1111
27-May-11 3:42am
View
Very Helpful,
Thanks
Yonathan1111
20-May-11 9:35am
View
I am sorry for my less expression. What I meant is, the button is not doing its job.
Yonathan1111
20-May-11 9:32am
View
Yes, the button is not firing up the correct event. And the Popup is not coming out.
Thanks
Yonathan1111
9-May-11 1:33am
View
Thank you Hemant,
Yonathan1111
8-May-11 6:38am
View
Hi Hemant,
1. Yes, I know your first point. For the time being, it is me acting as both the client and the server.
2. But the second point you mentioned, I understand it, but I don't know how to do it.
If you can please help me with that. If possible, I want not to use the ActiveX control, suggest me with other options.
Thanks
Yonathan1111
8-May-11 5:58am
View
The dll file is called "MachinInformation.dll" and it is a library which contains a method called MACAddress() which returns a typd of string of MACAddress of the client.
Thank you for being helpful,
Yonathan1111
14-Apr-11 3:41am
View
I think behind every web page, the idea of remote connections works, right?
Yonathan1111
28-Mar-11 3:23am
View
Hallo everybody,
It appears to be working. I don't know how, but I will figure out and try to post what was the problem.
Thank you
Yonathan1111
17-Mar-11 9:00am
View
Do any of you, didn't see my recent message?
I mean, I tried to get it more wider. Please see it, and say something.
Thanks
Yonathan1111
17-Mar-11 3:34am
View
Thanks Venkatesh Mookkan for your suggestion. I actually forgot puting there that line of code.
Thanks
Yonathan1111
14-Mar-11 3:22am
View
Deleted
Sorry, I didn't think of it, I was expecting what best practice could I follow. Like, do this way and don't do in this way. Anyway, I am sorry and thank you.
Yonathan1111
3-Feb-11 2:43am
View
Thank yoou all,
You gave me a lot help
Yonathan1111
3-Feb-11 2:41am
View
Hallo Espen,
Thank you very much for your help.
I used Http protocol as a transport protocol and SOAP message as the raw data. It was the thought I used to think made me impossible. I did confuse with the PowerBuilder class called SoapConnection.
Yonathan1111
31-Jan-11 1:23am
View
Hallo Espen, I don't think you understand me. But, your message is an important thing which I will look at it in future.
Thank you
Show More