Understanding .Net Application Deployment: .Net Deployment Features #Misc .Net

Brought from our old-site: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1116&title=Understanding%20.Net%20Application%20Deployment:%20.Net%20Deployment%20Features

  • Features you are required to understand: No-impact applications: isolate applications, remove DLL effects, Keeping the Components Private: components available only to the application, Controlled Code Sharing using GAC, Side by Side Versioning: Multiple versions of the same application, Xcopy Deployment: Without registry entries (copy to a directory), On the fly updates, Integrated with Microsoft Windows Installer, Enterprise Deployment: Use Active Directory to deploy applications on user login or computer start.
  • Packaging: Assemblies (deploy the .dll and .exe files), Cabinet Files (.cab): Compress the .exe files into .cab files, Create .msi files
  • Distribution: Xcopy or FTP: CLR applications with no registry entries, Code Download, Use windows installer
  • Four types of deployment projects: Setup, Web-setup, Cab, Merge Module
  • Creating different types of deployment projects: Visual Studio: File-> New project ->other project types-> set up and deployment -> then select Setup, Web Setup, Merge Module, or CAB project
  • Structuring a .NET Application For Easy Deployment
  • About Merge Module Projects: Installing and deploying components
  • Implementing Versioning and Side-by-Side Deployment: Deploy assemblies with different version numbers in the global assembly.

From: http://sitestree.com/?p=3761
Categories:Misc .Net
Tags:
Post Data:2016-07-17 07:21:59

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Deploying .Net Windows Applications #Misc .Net

Brought from our old-site:http://salearningschool.com/displayArticle.php?table=Articles&articleID=797&title=Deploying%20.Net%20Windows%20Applications

Deploying .Net Windows Applications

  • Ways to deployment: XCOPY, Automated setup application
  • Use XCOPY only when there is no external dependencies other than .Net framework. And it is guaranteed that .Net framework is installed in all the target machines. Also, make sure the application directory contains all the files
  • Command example: XCOPY d:myApplication c:deployedApplication /s — /s indicates subdirectories will also be copied
  • Setup Applications: two types: setup projects and merge module projects
  • Setup projects: installs your application to the target machine
  • Merge module projects: Used to deploy controls and components. It can be merged with a setup project
  • To create setup project: File Menu->Add Project -> New Project->setup project-> setup project creation wizard comes. Select options as appropriate. It will be mostly common sense.
  • Merge module project: File Menu->Add Project -> New Project->setup and deployment project-> setup wizard. Select options as appropriate. It will be mostly common sense.
  • Setup project is also displayed in the project explorer. Right click and select properties to provide build properties.

From: http://sitestree.com/?p=3757
Categories:Misc .Net
Tags:
Post Data:2016-07-17 08:30:59

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Debug and Trace classes in .Net #Misc .Net

Brought from our old-site (yes, pretty old short-note): http://salearningschool.com/displayArticle.php?table=Articles&articleID=636&title=Debug%20and%20Trace%20Classes%20in%20.Net

Debug and Trace classes in .Net

You can always debug your applications line by line. However, when the applications get very bigger/larger, debugging line by line may not be an efficient way for finding errors in code (well, you can first find out the error region and then can debug line by line). Debug and Trace classes are handy in such cases. Using Debug and Trace classes, you can find errors and write them in a file or create an event log. Later, you can check the file or the event log to see what kinds of errors the applications are causing. They both provide the same functionalities except that Debug class works only in the debug mode. Trace can work even after the applications are released and also you can control the error reporting from released versions. In a .config file you can change the behavior of the Trace class.

Logging Trace Output into a text file

  • 1. Create a FileStream object instance and map it to a file
  • 2. Create a TextWriterTraceListener instance and make the text file as the targe of this listener
  • 3. Add this listener to the Trace.Listeners collection
  • 4. set Trace.AutoFlush to be true
  • 5. where required you can use Trace.Write method to send error messages to the file
  • 6. Trace.Write, Trace.WriteLine, Trace.WriteIf, Trace.WriteLineIf can be used to send error message to the file
  • 7. Trace.Assert method writes error messages only if the supplied condition fails. Trace.Assert also displays the error in a MessageBox
  • 8. Trace.Fail causes an Trace.Assert unconditionally

Logging Trace output into an Event Log

  • 1. Create or open an Event Log
  • 2. Set the Source property of Event Log
  • 3. Create an instance of EventLogTraceWriter and specify the new event log as it’s target
  • 4. Use Trace.AutoFlush[automatic sending], or Trace.Flush [send error messages explicitly]
  • 5. Where required, you can use Trace.Write method to send error messages to the file
  • 6. Trace.Write, Trace.WriteLine, Trace.WriteIf, Trace.WriteLineIf can be used to send error messages to the file
  • 7. Trace.Assert method writes error messages only if the supplied condition fails. Trace.Assert also displays the errors in a MessageBox
  • 8. Trace.Fail causes a Trace.Assert unconditionally

TraceSwitches

TraceSwitch/BooleanSwitch class can be used to control the error messaging that the Trace class generates.

From: http://sitestree.com/?p=3753
Categories:Misc .Net
Tags:
Post Data:2016-07-17 09:54:12

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

XML Related Classes in .Net #Misc .Net

Brought from our old site (yes, very old short-note): http://salearningschool.com/displayArticle.php?table=Articles&articleID=633&title=XML%20Related%20Clasees%20in%20.Net

XML in ADO.net VB.NET C#.NET

XML is the foundation of .NET. .NET internally represents data as XML and hence can provide inter-operability and interaction among applications written in different platforms and languages [.Net compatible].

XmlReader

In .Net you can use XML with SqlCommand object. You first create a connection to the SQL server database using the SqlConnection object. Then you can use a SqlCommand object with that SqlConnection object to query sql server databases(in XML format). You can use the ExecuteXmlReader() method to execute a query. A select operation will return data that can be grabbed into a XMLReader [similar to DataReader object] object. You know that in SqlCommand object you can specify the Query or the stored procedure name to execute. XmlReader object has a Read method like the DataReader object that helps to navigate through the nodes. Mentionable, the query must have FOR XML clause.

XML with DataSet

DataSet object has two methods to work with XML. You can use ReadXml to read a XML file or stream. Also, you can use WriteXml to write the contents of the DataSet to a file, stream, or an XmlWriter or TextWriter object.

XmlDataDocument Class

You can load XML data into a XmlDataDocument object[from a file or from a dataset]. DOM can be used to manipulate the data. A DataSet containing XML data can also be loaded into a XmlDataDocument object(constructor parameter).

XSLT Transform:

XmlDataDocument and XslTransform classes are used to transform XML from one form to another. An XslTransform object contains the style definition and loads a style file using it’s Load method. The Transform method of XslTransform transforms XML data according to the style sheet rules. Transform takes a XmlDataDocument[or objects implemented IXPathNavigable interface] object as a source XML data to transform. Transform also, takes another parameter for the destination[a file, stream, XmlWriter, or TextWriter]

All these apply for both VB.net and C#.net. I will provide some code examples in future.

From: http://sitestree.com/?p=3751
Categories:Misc .Net
Tags:
Post Data:2016-07-17 08:47:21

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Database Programming in .Net: ADO.Net Overview #Misc .Net

Overview of ADO.net

Purpose

  • Components of ADO.net and their functions

ADO.net provides disconnected database access to make minimum resource (RAM,Page Table,Heap) use. Database connections are open as long as the connection is required. Afterwards, the connection is just closed. If connections are kept active and if new connections are used for new operations, the system resource will easily used up. Further, it can consume database licenses quickly.

ADO.net has two major entities. DataSet and Data Provider

Data Set

Data set is in-memory representation of data. After querying a database, you may keep your data in a DataSet. DataSet may contain 0, one or more tables. The tables in DataSet are termed as DataTables. DataTables have two concepts/collections DataColumns, and DataRows. DataRows contain the data. DataSet also contains DataRelations collections that may be used to create relations among the DataTables in the DataSet. Additionally, DataSet contains ExtendedProperties collections to contain custom information about the DataSet

Data Provider

It is actually a collection of several components. Some data provider objects are:

  • SQL Server Data Provider: To interact with MSSQL Server Databases
  • OLE DB.Net data provider: May be used to interact with other databases.
  • ODBC (.Net) Data provider
  • Oracle Data Provider: For efficient interaction with Oracle Databases

Data Provider Components

  • Connection Object: To connect to the database. Objects: SqlConnection(for MS Sql Server), OleDbConnection(for wide range of databases), ODBC Connection(to connect through ODBC), OracleConnection(for oracle). The main property of Connection objects are the ConnectionString.
  • Command Object: like SqlCommand, OleDbCommand. After creating a connection a command object may be used to query the database or to run a stored procedure. It has methods like ExecuteNonQuery(For Insert,Update,Delete), ExecuteScalar(to access a single value),ExecuteReader(returns ResultSet, may be kept in a DataReader object)
  • DataReader Object: Like, SqlDataReader, OleDbDataReader, [ODBCDataReader,OracleDataReader]. It is a read-only, forward only, connected data stream. It uses the connection exclusively and tries to use minimum system resources[contain only one row in the RAM]
  • DataAdapter Object: It is the object that provides disconnected data access in .Net. DataAdapter fills a DataSet or DataTable by using it’s Fill method. Unlike DataReader DataAdaptor can propagate the changes in DataSet/DataTable to the database using it’s Update method. DataAdapter contains queries(select,update,insert,delete) in four properties like SelectCommand, InsertCommand,DeleteCommand,UpdateCommand. When fill method is called the data returned by SelectCommand query are saved in DataSets/DataTables. Remember Update is another method, that copies DataSet data to the Database.

From: http://sitestree.com/?p=3749
Categories:Misc .Net
Tags:
Post Data:2016-07-16 16:46:07

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

PhoneGap and Mobile App Misc. Resources #Miscellaneous

PhoneGAP Desktop App & PhoneGap CLI:

http://docs.phonegap.com/getting-started/1-install-phonegap/cli/

 

Getting Started With PhoneGap and Android Studio:

http://www.codenutz.com/getting-started-phonegap-android-studio/

 

Using PhoneGap to create an Android APK

https://wiki.nsbasic.com/Using_PhoneGap_to_create_an_Android_APK

 

Build, Package and Distribute for Production

http://docs.phonegap.com/getting-started/5-going-further/

 

Cordova Commands

http://docs.phonegap.com/references/phonegap-cli/cordova/

 


 

For Moodle Mobile App Customization

https://docs.moodle.org/dev/Moodle_Mobile_Customization

 

 

 

 

 

  From: http://sitestree.com/?p=12151
Categories:Miscellaneous
Tags:
Post Data:2018-03-15 12:58:50

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Software Version Control with BitBucket, GitHUB, and Git #Miscellaneous

https://www.youtube.com/watch?feature=player_embedded&v=jjbxdYkUvkQ From: http://sitestree.com/?p=2423
Categories:Miscellaneous
Tags:BitBucket, GitHUB, Git, Software Version, Control
Post Data:2015-10-09 08:43:17

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Golden fiber #Miscellaneous

Jute is called golden fiber of Bangladesh as it had very good positive impact on economy. By using jute fiber we can make bags, carpet, mat etc that are biodegradable and environment friendly. There is a good environment to produce jute plant here. Generally it takes 2 months to produce jute plant. Then the raw fiber is submerged under water to make it fermented. Then they separate the fiber from the plant and dry it under sun. The fiber looks like golden thus it is called golden fiber. We hope that the recent invention of jute genome will help us a lot to make a revolution in this sector. From: http://sitestree.com/?p=53
Categories:Miscellaneous
Tags:
Post Data:2012-11-18 19:01:29

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

#Engineering: #Canada: #Job/Contract/Project: Any #Engineering: #Computer, #Electrical, #Electronics, #Civil, #Chemical, #Mechanical, #Naval, #Biomedical, and misc Engineering

Date Posted:2021-07-10 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

  1. engines-turbines-components-and-accessories-10008
  2. Provision of Engineering Services for Watermain and Wastewater Main Improvements in The Town Of Oakville, Wards 1, 2, 3 (PR-3314A & PR-3314B)
  3. prefabricated-structures-10022
  4. DNE1 Stimulus Electrical
  5. architect-and-engineering-services-10048
  6. Request for Engineering Services for the Rehabilitation of Acton Island Bridge
  7. P8143 IPD Structural Engineer Consultant – Edmonton Public School Board (EPSB) Solar Initiative: Phase 2
  8. Electrical Review & Back-Up Generator Installation
  9. Architectural & Engineering Services for Development of Residential Subdivision, Area 5 Phase 3b
  10. maintenance-repair-modification-rebuilding-and-installation-of-goods-equipment-10054
  11. Electrical Maintenance & Repair Services, Pictou County, N.S.
  12. operation-of-government-owned-facilities-10039
  13. Owner’s Engineering Services for the Bow River Bridge
  14. special-studies-and-analysis-not-r-d-10047
  15. Digester 4 Condition Assessment and Feasibility Study from the 20-117 Wastewater Engineering Services Pre-Qualification
  16. Keywords Used:engineer,civil,mechanical,electrical,electronics,mechatronics,naval,biomedical,computer engineer,software engineer,civil engineer,biomedical,electrical engineer,electronics engineer,mechanical engineer,metallurgical,chemical engineer,industrial engineer,communications engineer,quality assurance engineer,Aerospace engineer,aeronautical engineer,Engineering manager,Agricultural Engineer,Automotive Engineer,Environmental Engineer,Geological Engineer,Marine Engineer,Petroleum Engineer,Acoustic Engineer,Acoustic Engineer,Aerospace Engineer,Agricultural Engineer,Applied Engineer,Architectural Engineer,Audio Engineer,Automotive Engineer,Biomedical Engineer,Chemical Engineer,Civil Engineer,Computer Engineer,Electrical Engineer,Environmental Engineer,Industrial Engineer,Marine Engineer,Materials Science Engineer,Mechanical Engineer,Mechatronic Engineer,Mining and Geological Engineer,Molecular Engineer,Nanoengineering,Nuclear Engineer,Petroleum Engineer,Software Engineer,Structural Engineer,Telecommunications Engineer,Thermal Engineer,Transport Engineer,Vehicle Engineer,engineering

    #Canada: #IT Jobs:#Consultants, #Contractors, #Analysts, #Engineers, #Developers, #Technology Consultants, #IT-Consultants Opportunities2021-07-10

    Apply yourself, or submit others as a candidate, Build a recruitment team to submit others as a candidate, submit RFP to be considered for projects in future, Try to become a vendor so that you are asked to submit consultants/resources in future

    1. construction-products-10032
    2. Source List (SL) for Environmental Consulting Services
    3. edp-hardware-and-software-10034
    4. Source List (SL) for Environmental Consulting Services
    5. electrical-and-electronics-10006
    6. Source List (SL) for Environmental Consulting Services
    7. energy-10007
    8. Source List (SL) for Environmental Consulting Services
    9. Prime Consultant for Main Building Foundation Repairs & Site Grading
    10. fire-fighting-security-and-safety-equipment-10010
    11. Source List (SL) for Environmental Consulting Services
    12. machinery-and-tools-10015
    13. Source List (SL) for Environmental Consulting Services
    14. architect-and-engineering-services-10048
    15. Consulting Services for Mill Creek Improvements
    16. Consultant Services: Nordel Way Multi-Use Pathway
    17. P8143 IPD Structural Engineer Consultant – Edmonton Public School Board (EPSB) Solar Initiative: Phase 2
    18. G85-405 – ENVIRONMENTAL CONSULTING SERVICES – TRIENNIAL CONTRACT
    19. Consulting Services for Geotechnical Investigations for the Reconstruction of Albion Street
    20. communications-photographic-mapping-printing-and-publication-services-10042
    21. PQR for Destination Development, Management Research and Analytic Consulting Services
    22. PQR for Research and Analytic Consulting Services
    23. Incremental Specification and standardization of Maps for the Web (NRCan-5000059855)
    24. Request for Proposal for Consulting Services – Oakmont Trail
    25. environmental-services-10050
    26. Consulting Services for Mill Creek Improvements
    27. G85-405 – ENVIRONMENTAL CONSULTING SERVICES – TRIENNIAL CONTRACT
    28. Source List (SL) for Environmental Consulting Services
    29. financial-and-related-services-10038
    30. RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
    31. Request for Proposal (RFP) for Actuarial and Pension Consulting Services
    32. health-and-social-services-10052
    33. Psychology Consulting and Quality Assurance Services
    34. operation-of-government-owned-facilities-10039
    35. P77PB21274 – ATC PROJECT CONTROL CONSULTING SERVICES
    36. professional-administrative-and-management-support-services-10040
    37. RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
    38. Downtown Community Safety Action Plan Development Consultant
    39. Consulting Technical Advisor to the General Insurance Plan
    40. Saskatchewan Pension Plan Investment Consulting Services
    41. quality-control-testing-inspection-and-technical-representative-services-10053
    42. Source List (SL) for Environmental Consulting Services
    43. Request for Proposal for Consulting Services – Oakmont Trail
    44. research-and-development-r-d-10036
    45. Specialist Environmental Consulting Services
    46. CON0022036, Regional Bridge Consultant – Peace Region
    47. special-studies-and-analysis-not-r-d-10047
    48. Request for Proposal for Consulting Services – Oakmont Trail
    49. Consulting Services to Develop a Feasibility Study for a Cultural Centre(s)
    50. transportation-travel-and-relocation-services-10044
    51. CON0022036, Regional Bridge Consultant – Peace Region
    52. undefined-10055
    53. RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
    54. EPS/BLRS Web Surveillance Solution for Short-Term Rentals in the City of Ottawa
    55. Source List (SL) for Environmental Consulting Services