Updated Print and Save buttons on CV page
This commit is contained in:
@@ -11,10 +11,18 @@ namespace MyWebsite.Controllers
|
|||||||
public IActionResult Download()
|
public IActionResult Download()
|
||||||
{
|
{
|
||||||
HtmlToPdf converter = new HtmlToPdf();
|
HtmlToPdf converter = new HtmlToPdf();
|
||||||
PdfDocument doc = converter.ConvertUrl($"https://{Request.Host}/CV");
|
converter.Options.MarginTop = 25;
|
||||||
|
converter.Options.MarginBottom = 25;
|
||||||
|
PdfDocument doc = converter.ConvertUrl($"https://{Request.Host}/CV/PrintCV?pdfPreview=true");
|
||||||
byte[] data = doc.Save();
|
byte[] data = doc.Save();
|
||||||
doc.Close();
|
doc.Close();
|
||||||
return File(data, "application/pdf", "[Michael Gordeev] CV.pdf");
|
return File(data, "application/pdf", "[Michael Gordeev] CV.pdf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IActionResult PrintCV(bool pdfPreview = false)
|
||||||
|
{
|
||||||
|
ViewData["pdfPreview"] = pdfPreview;
|
||||||
|
return View();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6,9 +6,8 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.App" />
|
<PackageReference Include="Microsoft.AspNetCore.App" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.10" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0" />
|
<PackageReference Include="Select.HtmlToPdf.NetCore" Version="19.2.0" />
|
||||||
<PackageReference Include="Select.HtmlToPdf.NetCore" Version="19.1.0" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,10 +4,9 @@
|
|||||||
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
||||||
<Controller_SelectedScaffolderCategoryPath>root/Controller</Controller_SelectedScaffolderCategoryPath>
|
<Controller_SelectedScaffolderCategoryPath>root/Controller</Controller_SelectedScaffolderCategoryPath>
|
||||||
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
|
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
|
||||||
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
|
<WebStackScaffolding_IsLayoutPageSelected>False</WebStackScaffolding_IsLayoutPageSelected>
|
||||||
<WebStackScaffolding_IsPartialViewSelected>True</WebStackScaffolding_IsPartialViewSelected>
|
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
|
||||||
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>False</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
|
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>False</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
|
||||||
<WebStackScaffolding_LayoutPageFile />
|
|
||||||
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
|
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
|
||||||
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -0,0 +1,147 @@
|
|||||||
|
<article id="cv">
|
||||||
|
<h3>Michael (Mikhail) A. Gordeev</h3>
|
||||||
|
<hr>
|
||||||
|
<p>
|
||||||
|
Saint Petersburg,<br>
|
||||||
|
Russia<br>
|
||||||
|
Phone (Russia): +7 (996) 929-19-69<br>
|
||||||
|
Email: <a href="mailto:michael.xfox@outlook.com">michael.xfox@outlook.com</a><br>
|
||||||
|
Personal Website: <a href="//xfox111.net/" target="_blank">https://www.xfox111.net/</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h4>Overall Summary:</h4>
|
||||||
|
<p>
|
||||||
|
Self- directed, detail-oriented, and professional C# programmer with more than 3 years of experience in designing, developing, analyzing, and implementing client-server, web and desktop-based applications using C# language. Expertise in system designing as well as in testing, debugging and modifying related application code. Capable of learning new programming languages and technologies and complete projects within specified deadlines. Possess excellent communication, problem-solving, documentation, analytical, and decision solving skills.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h4>Summary of Skills:</h4>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Thorough knowledge of C# programming concepts, OOP, SOILD, SDLC, testing and debugging methods, system design and implementation, database system, including DB2 and relational databases, program documentation, web and desktop application development
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Proficient in Object oriented programming such as C#, C++, Java as well as experience with .NET, ASP.NET Core, MVC, Xamarin and Unity frameworks
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Strong understanding of HTML, CSS, JavaScript, Visual Studio, design and architectural patterns
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Have a medium knowledge of Computer Vision and Machine learning
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Ability to analyze and understand complex problems, and generate appropriate technical solutions independently
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Effective communication and interpersonal skills with the ability to maintain good relations and share technical ideas with users or clients, technical and management staff
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Ability to work independently and within teams
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Strong organizational skills along with the ability to accomplish multiple tasks under extreme pressure, and meet specific deadlines
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Ability to grasp and apply new concepts quickly and stay updated with latest trends and technical advancements
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>TECHNICAL SKILLS:</h4>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Knowledge of Microsoft Windows Operating System
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Technologies stack: .NET, ASP.NET MVC, Unity, Xamarin, Azure DevOps
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Languages: C#, JavaScript, Java, C++, Pascal, XAML, HTML, XML, CSS, SQL
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Platforms: UWP, Win32, Web, Android, iOS
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Software: Visual Studio, Adobe Photoshop, Illustrator, DaVinci Resolve, Sony Vegas Pro, FL Studio, Microsoft Office, 3Ds Max, Kompass 3D
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Database: MySQL, Microsoft Access
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
English knowledge: C1 (Advanced )
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Very energetic and ready to take new challenges
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Ready to learn anything new
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Excellent communication and presentation skills
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Work Experience:</h4>
|
||||||
|
<p>
|
||||||
|
C# Software Developer<br />
|
||||||
|
Technologies of Informational and Educational Systems Research Facility, <a title="Saint Petersburg State University of Telecommunications">SPbSUT</a>, St. Petersburg, Russia<br />
|
||||||
|
September 2019 – Present
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Developing a <a asp-controller="Projects" asp-action="Index">cross-platform application</a> for University's students and professors
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Supporting and maintaining existing .NET solutions
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Providing UI and processing solutions for internal research projects
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Consulting in Software development projects
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
C# Software Developer<br />
|
||||||
|
Self-Employed, Lipetsk, Russia<br />
|
||||||
|
2015 - September 2019
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Developing a <a asp-controller="Projects" asp-action="Index">YouTube client</a> application for Universal Windows Platform
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Comming out as a head of research group which was developing a <a asp-controller="Projects" asp-action="Index">Computer Vision based software</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Doing small freelance tasks for Unity projects
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Education:</h4>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
Bachelor's Degree in Computer Science (11.03.02 Infocommunication Systems)<br>
|
||||||
|
State University of Telecommunications, Saint Petersburg, Russia<br>
|
||||||
|
2019 – (Present time) – 2023
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
High School 3.5/4.0 GPA<br />
|
||||||
|
Lyceum №66, Lipetsk, Russia<br />
|
||||||
|
2017-2019
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
Secondary specialized education in Fortepiano<br />
|
||||||
|
Regional College of Arts, Lipetsk, Russia<br />
|
||||||
|
2007-2015
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<h4>Reference:</h4>
|
||||||
|
<p>On request.</p>
|
||||||
|
</article>
|
||||||
@@ -6,155 +6,9 @@
|
|||||||
<header>
|
<header>
|
||||||
<h1>My resume</h1>
|
<h1>My resume</h1>
|
||||||
<a class="comment" asp-action="Download">// Download CV (.pdf) </a><br />
|
<a class="comment" asp-action="Download">// Download CV (.pdf) </a><br />
|
||||||
<a class="comment" onclick="PrintCV()">// Print CV </a>
|
<a class="comment" asp-action="PrintCV" target="_blank">// Print CV </a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<article id="cv">
|
<partial name="~/Views/CV/CVContent.cshtml" />
|
||||||
<h3>Michael (Mikhail) A. Gordeev</h3>
|
|
||||||
<hr>
|
|
||||||
<p>
|
|
||||||
Saint Petersburg,<br>
|
|
||||||
Russia<br>
|
|
||||||
Phone (Russia): +7 (996) 929-19-69<br>
|
|
||||||
Email: <a href="mailto:michael.xfox@outlook.com">michael.xfox@outlook.com</a><br>
|
|
||||||
Personal Website: <a href="//xfox111.net/" target="_blank">https://www.xfox111.net/</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h4>Overall Summary:</h4>
|
|
||||||
<p>
|
|
||||||
Self- directed, detail-oriented, and professional C# programmer with more than 3 years of experience in designing, developing, analyzing, and implementing client-server, web and desktop-based applications using C# language. Expertise in system designing as well as in testing, debugging and modifying related application code. Capable of learning new programming languages and technologies and complete projects within specified deadlines. Possess excellent communication, problem-solving, documentation, analytical, and decision solving skills.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h4>Summary of Skills:</h4>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Thorough knowledge of C# programming concepts, OOP, SOILD, SDLC, testing and debugging methods, system design and implementation, database system, including DB2 and relational databases, program documentation, web and desktop application development
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Proficient in Object oriented programming such as C#, C++, Java as well as experience with .NET, ASP.NET Core, MVC, Xamarin and Unity frameworks
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Strong understanding of HTML, CSS, JavaScript, Visual Studio, design and architectural patterns
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Have a medium knowledge of Computer Vision and Machine learning
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Ability to analyze and understand complex problems, and generate appropriate technical solutions independently
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Effective communication and interpersonal skills with the ability to maintain good relations and share technical ideas with users or clients, technical and management staff
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Ability to work independently and within teams
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Strong organizational skills along with the ability to accomplish multiple tasks under extreme pressure, and meet specific deadlines
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Ability to grasp and apply new concepts quickly and stay updated with latest trends and technical advancements
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>TECHNICAL SKILLS:</h4>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Knowledge of Microsoft Windows Operating System
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Technologies stack: .NET, ASP.NET MVC, Unity, Xamarin, Azure DevOps
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Languages: C#, JavaScript, Java, C++, Pascal, XAML, HTML, XML, CSS, SQL
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Platforms: UWP, Win32, Web, Android, iOS
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Software: Visual Studio, Adobe Photoshop, Illustrator, DaVinci Resolve, Sony Vegas Pro, FL Studio, Microsoft Office, 3Ds Max, Kompass 3D
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Database: MySQL, Microsoft Access
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
English knowledge: C1 (Advanced )
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Very energetic and ready to take new challenges
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Ready to learn anything new
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Excellent communication and presentation skills
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Work Experience:</h4>
|
|
||||||
<p>
|
|
||||||
C# Software Developer<br />
|
|
||||||
Technologies of Informational and Educational Systems Research Facility, <a title="Saint Petersburg State University of Telecommunications">SPbSUT</a>, St. Petersburg, Russia<br />
|
|
||||||
September 2019 – Present
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Developing a <a asp-controller="Projects" asp-action="Index">cross-platform application</a> for University's students and professors
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Supporting and maintaining existing .NET solutions
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Providing UI and processing solutions for internal research projects
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Consulting in Software development projects
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<p>
|
|
||||||
C# Software Developer<br />
|
|
||||||
Self-Employed, Lipetsk, Russia<br />
|
|
||||||
2015 - September 2019
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Developing a <a asp-controller="Projects" asp-action="Index">YouTube client</a> application for Universal Windows Platform
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Comming out as a head of research group which was developing a <a asp-controller="Projects" asp-action="Index">Computer Vision based software</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Doing small freelance tasks for Unity projects
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Education:</h4>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<p>
|
|
||||||
Bachelor's Degree in Computer Science (11.03.02 Infocommunication Systems)<br>
|
|
||||||
State University of Telecommunications, Saint Petersburg, Russia<br>
|
|
||||||
2019 – (Present time) – 2023
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>
|
|
||||||
High School 3.5/4.0 GPA<br />
|
|
||||||
Lyceum №66, Lipetsk, Russia<br />
|
|
||||||
2017-2019
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>
|
|
||||||
Secondary specialized education in Fortepiano<br />
|
|
||||||
Regional College of Arts, Lipetsk, Russia<br />
|
|
||||||
2007-2015
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
<h4>Reference:</h4>
|
|
||||||
<p>On request.</p>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<partial name="~/Views/Shared/ContactsBlock.cshtml" />
|
<partial name="~/Views/Shared/ContactsBlock.cshtml" />
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
Layout = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>CV print preview page - XFox111.NET</title>
|
||||||
|
<link rel="shortcut icon" href="~/images/favicon.png" type="image/png" />
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="~/css/Style.css" />
|
||||||
|
|
||||||
|
@if (!(bool)ViewData["pdfPreview"])
|
||||||
|
{
|
||||||
|
<style type="text/css">
|
||||||
|
article {
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
}
|
||||||
|
<meta name="viewport" content="width=device-width" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<partial name="~/Views/CV/CVContent.cshtml" />
|
||||||
|
|
||||||
|
@if(!(bool)ViewData["pdfPreview"])
|
||||||
|
{
|
||||||
|
<script type="text/javascript">print();</script>
|
||||||
|
}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -68,21 +68,4 @@ function UpdateProjects()
|
|||||||
desc.innerText = "";
|
desc.innerText = "";
|
||||||
desc.innerHTML = text;
|
desc.innerHTML = text;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
function PrintCV() {
|
|
||||||
var printFrame = window.open("", "", "height=500, width=800");
|
|
||||||
|
|
||||||
printFrame.document.write("<html>");
|
|
||||||
printFrame.document.write(document.head.outerHTML);
|
|
||||||
printFrame.document.write("<body>");
|
|
||||||
printFrame.document.write(document.getElementById("cv").outerHTML);
|
|
||||||
printFrame.document.write("</body>");
|
|
||||||
printFrame.document.write("</html>");
|
|
||||||
|
|
||||||
printFrame.document.close();
|
|
||||||
setTimeout(function () {
|
|
||||||
printFrame.print();
|
|
||||||
printFrame.close();
|
|
||||||
}, 500);
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user