tag:blogger.com,1999:blog-10280779539647332572024-03-15T02:16:13.212-07:00Softminer.NetSoftminer.netUnknownnoreply@blogger.comBlogger237125tag:blogger.com,1999:blog-1028077953964733257.post-83883362883550758642020-01-15T05:12:00.001-08:002020-01-15T05:14:35.222-08:00Create Nuget PackageIn this Post I will show how to create Nuget package:
In this video you can see :
In this video you can see:
Nuget Package explorer is used for publish to feed:
https://github.com/NuGetPackageExplorer/NuGetPackageExplorer
Then you can use this Nuget in your Solution:
https://blogs.naxam.net/configure-nuget-package-sources-for-your-project-cd8b96397360
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-58881561120914802942020-01-05T12:24:00.015-08:002021-01-05T13:04:59.899-08:00How to prepare for the Exam AZ-900: Microsoft Azure FundamentalsLearning https://marczak.io/https://www.youtube.com/c/TimothyWarner1/videosPractice https://www.udemy.com/course/az-900-practice-tests/learn/
https://www.examtopics.com/exams/microsoft/az-900https://www.exam-answer.com/microsoft/az-90090% of questions are from udemy course. examtopics is free for first 100 questions. i you want to have all questions for free you can check here:Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1028077953964733257.post-76877558783542296642019-07-01T21:53:00.006-07:002020-11-02T22:02:29.757-08:00Forward emails without SMTP provider for free usually, when you buy a domain you need to buy anothr smtp provider to send email. gmail business has a packet for 5$ per user. If you want to use free email forwarding tool i suggest https://improvmx.com/ just set your mx record <!--StartFragment-->HOSTVALUEPRIORITY@mx1.improvmx.com10@mx2.improvmx.com20<!--EndFragment-->Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-81852716065369182032019-01-10T02:23:00.001-08:002019-03-05T06:14:45.567-08:00Azure Application GatewayAzure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications
This is very good overview of application gateway
for more details view this video:
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1028077953964733257.post-20827402307485632202019-01-07T03:03:00.004-08:002019-01-07T03:03:35.249-08:00Security awarenessTraining github workshop
https://github.com/sapran/appsec_awareness_training
Enter your email and tells you if your email is being leacked
https://haveibeenpwned.com/
Owas top 10 volnerability
https://www.owasp.org/index.php/Top_10-2017_Top_10
Reward to hackers to found bugs
https://www.bugcrowd.com/bug-bounty-list/
web-dvwa is a docker sample in php which shows volnerabilities
the sample Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-1028077953964733257.post-35902983620862078232018-04-04T08:24:00.000-07:002018-04-04T08:24:39.535-07:00Mobile-Cloud-Workshop Learn Azure and Mobile- Hands on Labs on build real Mobile Application and Backend services based on Azure. We will follow the diagram below in the deployment:
- App Services
- Functions & Logic Apps
- Application Insights – to monitor application that are in production
- Containers – simplify application deployments
- API Management
- SQL Databases
- Mobile DevOps & Xamarin
Also, here (https://Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-65311279984312320102018-04-02T07:25:00.000-07:002019-04-26T07:25:49.241-07:00C# Configuring Swagger in WebAPIhttps://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-2.2&tabs=visual-studio
https://github.com/RicoSuter/NSwag/wiki/NSwagStudio
https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag?view=aspnetcore-2.2&tabs=visual-studio
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-46042742968937495112018-03-26T05:21:00.000-07:002018-03-26T05:23:32.360-07:00IFrame embeding browser permissionsby default asp.net is setting x-frame-options: SAMEORIGIN which doesnt allow anywebsite to embed your IFRAME to disable that you need to
System.Web.Helpers.AntiForgeryConfig.SuppressXFrameOptionsHeader = true;
But the make sure to have this value to same origin in web.config
<add name="X-Frame-Options" value="SAMEORIGIN" />
The X-Frame-Options header may contain one of three tokensUnknownnoreply@blogger.com1tag:blogger.com,1999:blog-1028077953964733257.post-41449462983264022792017-09-22T06:42:00.003-07:002017-09-22T06:43:23.415-07:00IIS Application initializationAs of IIS 8 Application Initialization is part of the IIS feature set. For IIS 7 and 7.5 there's a separate download available via Web Platform Installer. Using IIS 8 Application Initialization is an optional install component in Windows or the Windows Server Role Manager:
This is an optional component so make sure you explicitly select it.
IIS Configuration for Application Initialization
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1028077953964733257.post-59202845247939213512017-09-22T06:20:00.001-07:002017-09-22T07:12:30.938-07:00Xamarin Push notification using FireBaseFirst download the sample here:
https://developer.xamarin.com/samples/monodroid/Firebase/FCMNotifications/
Then you have to create a project in Firebase
http://firebase.google.com
download google-services.json
right click on the google-service.json and set the Build Action vlaue to GoogleServicesJson
when your app is running the device get the token.
To send notification to device you need Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-36603835573040435452017-09-07T08:40:00.000-07:002017-09-07T08:40:11.118-07:00Hosting net.tcp wcf on IIS Express and IISto host on IIS
on project properties
IIS express
Project files have the information related to the IIS Express and it’s basic settings; whereas there are several configuration files that are required to host and run a web application. You can find all the IIS Express related files under \users\\My Documents \ IISExpress\Config .
Open the “applicationhost.config” Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-74989050948401927932017-06-19T01:41:00.003-07:002017-06-26T08:47:59.895-07:00get Domain SID in windows server TO get sid of a user, wun following command:
wmic useraccount where name="USER" get sid
wmic useraccount get name,sid
in C# can check user UserSid:
var me = WindowsIdentity.GetCurrent();
SecurityIdentifier sid = me.User;
To get Group Policy of a user in domain use
gpresult /r
More info about gpresult Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-9916314647216317292017-02-08T07:46:00.000-08:002019-02-08T07:46:40.396-08:00block url in windows 10in firewall you can create outbound role by ip but not by url
to be able to block url in windows
C:\Windows\System32\drivers\etc\hosts
add to the file
0.0.0.0 www.facebook.com
#Hint: make sure there is not space
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-30871386981083901572016-11-26T03:32:00.004-08:002023-10-20T04:05:35.887-07:00Xamarin Publish to Google playAfter installing Android SDK you need to enable Accelerator for having Fast emulator
To publish Xamarin Project on Google play:
https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/
You dont need to do all above steps mentioned in xamarin website. (e.g create a google play account and upload it via browser)
Choose release instead of ReleaseUnknownnoreply@blogger.com1tag:blogger.com,1999:blog-1028077953964733257.post-8853443474557597462016-06-08T09:09:00.004-07:002016-11-26T03:33:14.928-08:00Transfer Autorisation devicesThere are different companies provide one time password authorization:
RSA is one of leading companies in different authenticators like RSA SecureID hardware tokes and tokenles authentication
Kobil is a german company that offer transaction authorisation with mobile app and also provide ChipTAN/CardTAN authorisation
REINERSCT is also selling CardTAN generators
VASCO is a belgian company whichUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-66109901842347415132016-05-30T07:17:00.000-07:002016-05-30T07:17:56.100-07:00Changing workspace in visualstudio after renaming computer namerun in the Developer Command Prompt for Visual Studio
to get workspaces on your computer and getting collection name
tf workspaces
result will be like
Workspace Owner Computer Comment
------------- ---------- -------- ---------------
DEV2 Your Name COMPUTERNAME
DEV2 Your Name Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-74407427559622156702016-05-30T07:04:00.000-07:002019-10-02T05:11:43.630-07:00How to install .NET 3.5 on windows 10 - Windows Update error 0x800F081F
If you receive Windows Update error 0x800F081F or 0x800F081F it means that a file needed by Windows Update is damaged or missing. Windows has troubleshooting tools that can help you address this problem.
Run the DISM tool
1. Insert your Windows 10 DVD, or double click its ISO image, or insert your bootable flash drive with Windows 10, depending on what you have. you can click on ISO image andUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-34376264574100838372016-05-21T09:35:00.000-07:002016-05-21T09:35:12.518-07:00What is project management ?Project management is the application of knowledge, skills, tools, and techniques to project activities to meet the project requirement. project management is accomplished through the application the appropriate application and integration of the 42 logically grouped project management processes comprising the 5 process Groups. these 5 process Groups are:
Initiating
Planning
Executing
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-9948229325201548772016-05-09T06:04:00.000-07:002016-05-09T06:04:00.257-07:00SQL script to Shrink all databasesDECLARE @DBName varchar(255)
DECLARE @LogName varchar(255)
DECLARE @DATABASES_Fetch int
DECLARE DATABASES_CURSOR CURSOR FOR
select distinct
name, db_name(s_mf.database_id) dbName
from
sys.master_files s_mf
where
s_mf.state = 0 and -- ONLINE
has_dbaccess(db_name(s_mf.database_id)) = 1 -- Only look at databases to which we have access
and db_name(Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-29519989558209107602016-02-27T06:21:00.000-08:002017-02-27T06:22:10.964-08:00mysql database restore backupbackup: # mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql
restore:# mysql -u root -p[root_password] [database_name] < dumpfilename.sql
backup:
C:\Parallels\Plesk\Databases\MySQL\bin>mysqldump.exe -u admin_user -pPASS
S admin_database > c:\file.sql
restore:
mysql -u user -p database < file.sql
MYSQL Query cache
http://www.databasejournal.com/features/mysql/article.php/Unknownnoreply@blogger.com6tag:blogger.com,1999:blog-1028077953964733257.post-46639025822983139962016-01-19T05:00:00.001-08:002016-01-19T05:00:19.576-08:00How to write log into event logger in C#using (System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog("Application"))
{
eventLog.Source = "Application";
eventLog.WriteEntry("Before Call", System.Diagnostics.EventLogEntryType.Information, 101, 1);
}
Unknownnoreply@blogger.com195tag:blogger.com,1999:blog-1028077953964733257.post-17221532820670087192015-08-13T01:53:00.004-07:002015-08-13T01:53:44.219-07:00The power of scrum
Book can be ordered hereUnknownnoreply@blogger.com10tag:blogger.com,1999:blog-1028077953964733257.post-27954103158708363782015-07-04T03:32:00.000-07:002017-02-10T03:33:17.602-08:00BEGIN - ROLLBACK - COMMIT TRANSACTIONBEGIN TRANSACTION;
update Table1
set column1 = 'value1'
where key = 1
update Table2
set column2 = 'value2'
where key = 2
--COMMIT
--ROLLBACK
-- First run with "BEGIN TRANSACTION"
-- If it was OK then run "COMMIT"
-- If it was not OK then run "ROLLBACK"
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1028077953964733257.post-39693782296861283472015-07-01T04:05:00.001-07:002015-07-01T04:06:44.826-07:00List of checked out files in TFS 2010TO be able to see files checked out you need to install TFS power tools
after that you will be able to run command prompt for visual studio
tf status itemspec [/collection:TeamProjectCollectionUrl] [/login:username,[password]] ([/workspace:workspacename[;workspaceowner]]|[/shelveset:shelvesetname[;shelvesetowner]])[/format:(brief|detailed)]
[/recursive][/user:(*|username)]
More Info
exampleUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-1028077953964733257.post-68370969992910552412015-06-29T07:40:00.000-07:002015-06-29T07:40:31.145-07:00Read Text Files Using the JavaScript FileReaderHere is a simple example of reading file using javascript, more info on links
+
+
+
<input type="file" id="fileinput" />
<script type="text/javascript">
function readSingleFile(evt) {
//Retrieve the first (and only!) File from the FileList object
var f = evt.target.files[0];
if (f) {
var r = new FileReader();
r.onload = function(e) {
var contents = Unknownnoreply@blogger.com1